Spaces:
Sleeping
Sleeping
| import sys | |
| import os | |
| # Add the parent directory to the system path | |
| sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) | |
| # Now you can import BASEDIR from import_Path | |
| from import_Path import BASE_DIR | |
| BaseDir = BASE_DIR | |
| print(BaseDir) |