Enables importing IPython notebooks as Python modules.
IPython is great, but oftentimes has trouble scaling to more complex projects. Normally, you'd just split a Python file into smaller files and import them, but you can't import an IPython notebook like a Python file. Well, now you can!
- Clone this repository (
git clone https://github.com/zplizzi/ipython-importer.git
) - Navigate into the root directory of this repo (
cd ipython-importer
) - Run
python setup.py install
- Import with
import ipython_importer
- Now you can import
.ipynb
files just like you would normal.py
files, likeimport my_cool_module
to importmy_cool_module.ipynb
.