Quantcast
Channel: IPython Notebook: Save the currently running notebook as ipynb file using a python command in a cell? - Stack Overflow
Viewing all articles
Browse latest Browse all 2

IPython Notebook: Save the currently running notebook as ipynb file using a python command in a cell?

$
0
0

Is there are a way to save the Ipython notebook as an ipynb file from a cell within that notebook?

I know I can save it at any time by manually pressing "CTRL-M S", but I would like to use a command in a cell to do so (python command or %magic).In this way I could "Run all cells" and be sure that the output (e.g. inline figures) is saved into the notebookfile when the execution is finished.

Update: Current versions of the Jupyter notebook (the successor of the IPython notebook) autosave into a hidden folder every few minutes (This feature was in development when I asked the question - see accepted answer).


Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>