[IPython-dev] running notebook from command line

Damián Avila damianavila at gmail.com
Tue Feb 25 16:49:46 EST 2014


Use IPython as a system shell!!!
And then:  %run foo.ipynb
;-) btw, it is a not a joke...


2014-02-25 18:45 GMT-03:00 Thomas Kluyver <takowl at gmail.com>:

> 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
>>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>


-- 
Damián Avila
Scientific Python Developer
Quantitative Finance Analyst
Statistics, Biostatistics and Econometrics Consultant
Biochemist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140225/9fb4ef3d/attachment.html>


More information about the IPython-dev mailing list