from pathlib import Path import sys CLONE_DIR = Path(__file__).resolve().parents[1] sys.path.insert(0, str(CLONE_DIR))