help icon indicating copy to clipboard operation
help copied to clipboard

Importable notebooks

Open chrisgee opened this issue 6 years ago • 0 comments

Hey

There is a nice section in the jupyter notebook documentation that explains how to make jupyter notebooks importable. It is here https://jupyter-notebook.readthedocs.io/en/stable/examples/Notebook/Importing%20Notebooks.html It even says there: "It is a common problem that people want to import code from Jupyter Notebooks." I was wondering, why not incorporate this functionality into Jupyter itself.

I have a slight modification of this code that allows to only import code cells that are labelled (I did this by starting the cell with #init. Like this on would get similar functionality as in mathematica packages, where only the initialization cells are executed.

Any opinions on this?

chrisgee avatar Jan 11 '19 20:01 chrisgee