[IPython-dev] API to execute cells of notebook

Paddy Mullen paddy at paddymullen.com
Thu Aug 7 11:36:33 EDT 2014


I have played with the new widgets in the IPython notebook and it's a very
useful tool.  One thing that I would like to do is have the top cell of a
notebook contain widgets that setup global variables, and have the rest of
the cells function as a report based on the global variables.  My idea is
that there would be  a "Run it" button that executes the rest of the cells
in the notebook.

I don't see a way via python to cause the current kernel to execute the
rest of the cells in the notebook.  I could hack something together with
javascript, but that seems problematic and brittle.

Thanks,
Paddy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140807/af5b6456/attachment.html>


More information about the IPython-dev mailing list