deathbeds / importnb

notebook files as source

Home Page:https://importnb.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create an IPython extension that allows relative imports.

tonyfast opened this issue · comments

The relative importer truncated a lot of needless try statements from the source. The relative importer is install as an extension with importnb.

%reload_ext importnb.utils.relative
%reload_ext importnb

will all relative imports in an interactive notebook.

Similarly, this can be installed as everytime an ipython session starts with

!importnb-install

closed by #50