Starting your notebook server with:
ipython notebook --script
will save the notebooks (.ipynb
) as Python scripts (.py
) as well, and you will be able to import them.
Or have a look at: http://nbviewer.ipython.org/5491090/ that contains 2 notebook, one executing the other.