[IPython-dev] running through a notebook in terminal or command line
Fernando Perez
fperez.net at gmail.com
Fri Jun 8 03:11:23 EDT 2012
On Thu, Jun 7, 2012 at 11:52 PM, Jonathan Taylor
<jonathan.taylor at stanford.edu> wrote:
> I am wondering if it's possible to take an .ipynb file, effectively hit "run
> all" in the notebook and then hit "save" via a script.
> I imagine it's possible to do via a request to the web server if there is
> one running but I'm not sure how to generate the request.
did you see the reply to your question on the user list? Min posted
the url to two gists that do 90% of the job:
http://mail.scipy.org/pipermail/ipython-user/2012-June/010330.html
This stuff will eventually become official code, as I'm sure we're
going to want a solid set of command-line utilities to manipulate
notebooks (not just the conversion code in nbconvert).
Cheers,
f
More information about the IPython-dev
mailing list