My question is related to this. I am using Python 3.6 in Jupyter Notebook. My project directory is /user/project
. In this directory I'm building a number of models and each has its own folder. However, there is a common functions.py
file with functions that I want to use across all models. So I want to keep the functions.py
file in /user/project
but be able to call it from an .ipynb
file in /user/project/model1
, /user/project/model2
, etc... How can I do this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…