ipython / ipython/ipynb

Load ipynb contained from a different directory

Aperta
#53 2 commenti 3 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Jupyter Notebook
Stelle
258
Fork
71
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.