[IPython-dev] running notebook from command line
aaron.oleary at gmail.com
Tue Feb 25 18:13:56 EST 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 <fperez.net at gmail.com> wrote:
> 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,
> 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
> IPython-dev at scipy.org
More information about the IPython-dev