I have the following hierarchy of folders and files:
top_level
scripts
s1.py
notebooks
nb1.ipynb
I need to import the functions of s1.py
into nb1.ipynb
. I already tried different methods but nothing worked. Please notice that I do not want to use sys.path
.
This is what I tried last:
from .. import scripts/s1