Load ipynb contained from a different directory
Offen
- Vorherrschende Sprache
- Jupyter Notebook
- Sterne
- 258
- Forks
- 71
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Let us suppose my main notebook (main.ipynb) is next to a folder otherpath containing another notebook to be imported (to_be_imported.ipynb).
If I do
`import ipynb.fs.defs.otherpath.to_be_imported`
I get
`ModuleNotFoundError: No module named 'ipynb.fs.defs.otherpath'`
If I move to_be_imported.ipynb in the same folder of the main file, everything works.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.