Spaces:
Sleeping
Sleeping
File size: 323 Bytes
617f57a | 1 2 3 4 5 6 7 8 9 10 11 | import sys
from pathlib import Path
SRC = Path(__file__).resolve().parent / 'src'
if SRC.exists() and str(SRC) not in sys.path:
sys.path.insert(0, str(SRC))
SRC_PARENT = Path(__file__).resolve().parent.parent / 'src'
if SRC_PARENT.exists() and str(SRC_PARENT) not in sys.path:
sys.path.insert(0, str(SRC_PARENT))
|