[IPython-dev] running notebook from command line
Tue Feb 25 17:13:56 CST 2014
`ipython -c "%run blah.ipynb"`
Thanks! seems obvious now I think about it. Only in version 2.0
On 25 February 2014 21:49, Fernando Perez <email@example.com> wrote:
> On Tue, Feb 25, 2014 at 1:45 PM, Thomas Kluyver <firstname.lastname@example.org> 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,
> There is:
> alpamayo[~]> ipython -c "%run foo.ipynb"
> this is a notebook!
> ['/home/fperez/usr/bin/ipython', '-c', '%run foo.ipynb']
> IPython-dev mailing list
More information about the IPython-dev