Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import importlib.util
- spec = importlib.util.spec_from_file_location("core", "/Users/ronsh/Documents/GitHub/python/stam/core.py")
- core = importlib.util.module_from_spec(spec)
- spec.loader.exec_module(core)
- mycore = core.Core() # type: CoreIfc
- mycore.run()
Add Comment
Please, Sign In to add comment