[IPython-dev] running notebook from command line

Thomas Kluyver takowl at gmail.com
Tue Feb 25 16:45:41 EST 2014


>From within IPython, you can now run a notebook with: %run foo.ipynb

I don't believe there's any neat way of doing it from a system shell,
though.

Thomas


On 21 February 2014 05:58, Aaron O'Leary <aaron.oleary at gmail.com> wrote:

> Hi,
>
> Is it possible to run the notebook non interactively?
>
> This was asked on StackOverflow a few months ago:
>
> http://stackoverflow.com/questions/17905350/
>
> Outside of ipython there is [runipy], which does what I need,
> but some switch on ipython itself would be nice.
>
> [runipy]: https://github.com/paulgb/runipy
>
> Cheers,
> Aaron
> _______________________________________________
> 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/20140225/6f9797ec/attachment.html>


More information about the IPython-dev mailing list