Python3 courtesy of www.pythonconverter.com

This commit is contained in:
2018-09-07 05:54:23 +00:00
parent eedb21e21b
commit c584f7bf6e
5 changed files with 9 additions and 9 deletions

View File

@@ -21,7 +21,7 @@ def fimport( filePath ):
# Create a new module and exec the code in it's context.
m = imp.new_module( rootName )
m.__file__ = absPath
exec code in m.__dict__
exec(code, m.__dict__)
# Return the module object.
return m