Here is what I do on my projects in jupyter notebook,
import sys
sys.path.append("../") # go to parent dir
from customFunctions import *
Then, to affect changes in customFunctions.py
,
%load_ext autoreload
%autoreload 2
More Related Contents:
- How to get rid of ValueError: could not convert string to float
- How to add to the PYTHONPATH in Windows, so it finds my modules/packages?
- Permanently add a directory to PYTHONPATH?
- How do I increase the cell width of the Jupyter/ipython notebook in my browser?
- “ImportError: No module named” when trying to run Python script
- PYTHONPATH vs. sys.path
- Add to python path mac os x
- Configuring Spark to work with Jupyter Notebook and Anaconda
- How to display full output in Jupyter, not only last result?
- Python – add PYTHONPATH during command line module run
- How to load/edit/run/save text files (.py) into an IPython notebook cell?
- PYTHONPATH on Linux [closed]
- How do I find out my PYTHONPATH using Python?
- How does python find a module file if the import statement only contains the filename?
- Link Conda environment with Jupyter Notebook
- What is the currently correct way to dynamically update plots in Jupyter/iPython?
- Can I run Keras model on gpu?
- How to execute a * .PY file from a * .IPYNB file on the Jupyter notebook?
- How to uninstall jupyter
- Get Output From the logging Module in IPython Notebook
- Connecting to a remote IPython instance
- How to programmatically generate markdown output in Jupyter notebooks?
- PYTHONPATH not working for sudo on GNU/Linux (works for root)
- Simple way to measure cell execution time in ipython notebook
- Effect of using sys.path.insert(0, path) and sys.path(append) when loading modules
- set pythonpath before import statements
- Overwrite previous output in jupyter notebook
- Add directory to Python path in PyCharm?
- Plotly chart not showing in Jupyter notebook
- What does In [*] in IPython Notebook mean and how to turn it off? [duplicate]