@property<EOL><INDENT>def module(self):<DEDENT>
<EOL>if not hasattr(self, '<STR_LIT>'):<EOL><INDENT>if "<STR_LIT:__main__>" in sys.modules:<EOL><INDENT>mod = sys.modules["<STR_LIT:__main__>"]<EOL>path = self.normalize_path(mod.__file__)<EOL>if os.path.splitext(path) == os.path.splitext(self.path):<EOL><INDENT>self._module = mod<EOL><DEDENT>else:<EOL><INDENT>self._module = imp.load_source('<STR_LIT>', self.path)<EOL><DEDENT><DEDENT><DEDENT>return self._module<EOL>
load the module so we can actually run the script's function