import os import sys parent_path = os.path.dirname(os.getcwd()) sys.path.insert(0, parent_path) from core import main if __name__ == '__main__': main.main()