Create an IPython extension that allows relative imports.
tonyfast opened this issue · comments
Tony Fast commented
Tony Fast commented
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