ipython / ipython/ipynb

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

Offen
#50 2 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Jupyter Notebook
Sterne
258
Forks
71
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.