Skip to content

Instantly share code, notes, and snippets.

@svex99
Last active June 27, 2022 23:36
Show Gist options
  • Save svex99/2e898ee9dd28668dd761b7a276e6515e to your computer and use it in GitHub Desktop.
Save svex99/2e898ee9dd28668dd761b7a276e6515e to your computer and use it in GitHub Desktop.
Allows you to import your main package folder (or other) from any part of your project.
import sys
import os
sys.path.append(os.getcwd())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment