Guest User

Untitled

a guest
Dec 10th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. import importlib.util
  2. spec = importlib.util.spec_from_file_location("core", "/Users/ronsh/Documents/GitHub/python/stam/core.py")
  3. core = importlib.util.module_from_spec(spec)
  4. spec.loader.exec_module(core)
  5. mycore = core.Core() # type: CoreIfc
  6. mycore.run()
Add Comment
Please, Sign In to add comment