[IPython-dev] running notebook from command line

Fernando Perez fperez.net@gmail....
Tue Feb 25 15:49:10 CST 2014


On Tue, Feb 25, 2014 at 1:45 PM, Thomas Kluyver <takowl@gmail.com> wrote:

> 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.
>

There is:

alpamayo[~]> ipython -c "%run foo.ipynb"
this is a notebook!
['/home/fperez/usr/bin/ipython', '-c', '%run foo.ipynb']

Cheers

f
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20140225/0165788a/attachment.html 


More information about the IPython-dev mailing list