Files

6 lines
168 B
Python
Raw Permalink Normal View History

2026-06-07 14:43:04 +08:00
import sys
from pathlib import Path
PROJECT_ROOT = Path(__file__).resolve().parents[1]
if str(PROJECT_ROOT) not in sys.path:
sys.path.insert(0, str(PROJECT_ROOT))