Last active
December 10, 2018 22:21
-
-
Save ronshilo/4d47434f3e8cb688594b7086efc394fd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment