[IPython-dev] running notebook from command line
Fernando Perez
fperez.net at gmail.com
Tue Feb 25 16:49:10 EST 2014
On Tue, Feb 25, 2014 at 1:45 PM, Thomas Kluyver <takowl at 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.python.org/pipermail/ipython-dev/attachments/20140225/0165788a/attachment.html>
More information about the IPython-dev
mailing list