Spaces:
Runtime error
Runtime error
| import sys | |
| import os | |
| current_dir = os.path.dirname(os.path.realpath(__file__)) | |
| pardir = os.path.dirname(current_dir) | |
| for d in [pardir, current_dir]: | |
| if d not in sys.path: | |
| sys.path.append(d) | |
| import project_path |