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

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

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