Enable saving current notebook execution history as a notebook

save_notebook_history[source]

save_notebook_history(path, verbose=True)

Save current notebook history to path

save_notebook_history("tmp/my_history.ipynb")
Notebook history saved to tmp/my_history.ipynb