[IPython-dev] generating input cells dynamically

Paul Hobson pmhobson at gmail.com
Fri Mar 21 19:28:42 EDT 2014


At this point, I have to wonder if it makes more sense to just write a
small utility to build a LaTeX document for yourself.
-paul


On Fri, Mar 21, 2014 at 12:30 PM, Zoltán Vörös <zvoros at gmail.com> wrote:

>  Hi Araron,
>
> Thanks for the suggestion! But the main problem was not how to run the
> notebook, but how to generate the code in the first place. Basically, I
> would like to have a notebook that writes itself. Once it's written, it can
> be run in many ways, as you pointed out.
>
> Cheers,
> Zoltán
>
>  On 21/03/14 20:13, Aaron O'Leary wrote:
>
>  Once you've generated the notebook, you could use runipy to run it without
> having to go through the noteboko UI: https://github.com/paulgb/runipy/
>
>  Or, if you're using IPython 2.0 you can do
>
>     ipython -c "%run your_notebook.ipynb"
>
> from the command line. This is the same as opening it and clicking "run
> all cells".
>
> aaron
> _______________________________________________
> IPython-dev mailing listIPython-dev at scipy.orghttp://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140321/80a58ea2/attachment.html>


More information about the IPython-dev mailing list