ipython / ipython/ipynb

Load ipynb contained from a different directory

Open
#53 2 comments 3 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
258
Forks
71
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.