def load(self, path):
with open(path) as f:<EOL><INDENT>code = f.read()<EOL>exec(code, {}, self.__dict__)<EOL><DEDENT>
Read Python file from 'path', execute it and return object that stores all variables of the
Python code as attributes.
:param path:
:return: