Quantcast
Viewing all articles
Browse latest Browse all 2

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

No, because the kernel does not know it is accessed from a notebook. Dev version have auto-save feature though, and you could write a javascript extension that listen for cell execution event. But Python is not the way to do it. (or display(Javascript('js-code-to-save-notebook')) in the last cell, but I did not tell you)


Viewing all articles
Browse latest Browse all 2

Trending Articles