Last active
March 9, 2019 16:09
-
-
Save gargolito/2273538a6eec38fe38600b103c9856ff to your computer and use it in GitHub Desktop.
include alternate python module locations for import #python
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
# must be added before the module to be imported from the specified path | |
import sys | |
sys.path.append("/custom/path/to/modules") | |
import custom_module |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment