2) My first notebook is running at ~/workSpace/bioInformatics/ucsd/c2_GenomeSequencing/src
3) the name of my first notebook is week1_Introduction_to_Genome_Sequencing.ipynb
3) I want to use functions define in ../../c1_FindingHiddenMessagesinDNA/src/week4.ipynb
$ ls -l ~/workSpace/bioInformatics/ucsd/c2_GenomeSequencing/src/../../c1_FindingHiddenMessagesinDNA/src/week4.ipynb
-rw-r--r-- 1 ad staff 33K Apr 23 11:50 /Users/andrewdavidson/workSpace/bioInformatics/ucsd/c2_GenomeSequencing/src/../../c1_FindingHiddenMessagesinDNA/src/week4.ipynb
I have done a lot of hacking and keep getting ‘invalid syntax’
According to https://ipynb.readthedocs.io/en/latest/
"Relative imports
If you want to import notebooks from other notebooks relatively, you can easily do that with the following:
` import ipynb.fs from .full.notebook1 import foo from .defs.notebook2 import bar `This will do the imports from other notebooks relative to the path of the notebook in which the importing is happening. The import ipynb.fs is boilerplate that is required for this feature to work properly.”
Any suggestions would be appreciated.
Andy