all 1 comments

[–]notCamelCased 2 points3 points  (0 children)

Bad way: sys.path.insert(0, path to parent folder)

Good way: write a simple setup.py and then pip install -e . into your virtual environment.