Last active
February 14, 2023 09:16
-
-
Save roodee/e78eb391ee70ac5bc6981cce221aa79d to your computer and use it in GitHub Desktop.
Add directory to system path
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
sys.path.insert(0,'/path/to/mod_directory') | |
# Reference: https://stackoverflow.com/questions/16114391/adding-directory-to-sys-path-pythonpath |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment