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
Post a Comment