ipython / ipython/ipynb

How to import the ipynb file that is in a different folder

Aperta
#50 2 commenti 1 reazione 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

Assuming there is a function files I want to import: `project/helper_fun.ipynb`
My current working ipynb file is: `project/branch/work.py`
when I write `from ipynb.fs.defs.helper_fun import fun1` in my`work.p`, it says`there is no module called helper_fun`

So my question is how to import the ipynb functions that are in a different folder.

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.