[IPython-dev] Hook to save a notebook

Tony.Hirst tony.hirst at open.ac.uk
Wed Apr 29 04:47:20 EDT 2015


>I have a toolbar button extension that zips up HTML  and ipynb versions
>of the current notebook into a single zip file, but I would also like to
>force the notebook to save and checkpoint when I initiate this action.
>What do I have to call to force that action?
----
>
>IPython.notebook.save_checkpoint()
>
>-MinRK


Thanks...

I've also noticed that the js customisations don't always run, I think
because of a reace between a call on $ and jquery loading? I'm using
chrome on os/x - and guess this is a cache issue? (I was also wondering
whether the notebook load event is guaranteed to fire or can cacheing
break that too?

tony

-- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302). The Open University is authorised and regulated by the Financial Conduct Authority.



More information about the IPython-dev mailing list