Jupyter Notebook: command for save the current notebook? -


i can automatically save notebook html after running code. however, results generated quick, output html not have output in last cells.

i'm wondering, if possible tell file save itself?

something

# in last cell current_filename = 'my_file.ipynb' save_current_notebook(current_filename) output_html(current_filename) 

now can away with:

display(javascript("ipython.notebook.save_notebook()"),                     include=['application/javascript']) 


Comments

Popular posts from this blog

c++ - list<myClass<int> * > sort -

SoapUI on windows 10 - high DPI/4K scaling issue -

java - why am i getting a "cannot resolve method" error on getApplication? -