from pathlib import Path
dir = str(Path(__file__).parent)
print(dir)