Created
December 20, 2017 17:31
-
-
Save markph0204/5d2127081838751140f0867df341d0de to your computer and use it in GitHub Desktop.
I normally use notebooks in a `notebooks` sub path in my project repository and often need to import modules that are apart of that project.
This file contains hidden or 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.append("../") # go to parent dir | |
from customFunctions import * | |
# Then, to affect changes in customFunctions.py, | |
%load_ext autoreload | |
%autoreload 2 | |
#ref: https://stackoverflow.com/a/42727538/23991 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment