script_init.py 123 B

1234
  1. #!/usr/bin/env python3
  2. import sys
  3. from pathlib import PurePath
  4. sys.path[0] = str(PurePath(*PurePath(__file__).parts[:-2]))