[IPython-User] "run all' for a notebook on command line (followed by save)

Jonathan Taylor jonathan.taylor@stanford....
Fri Jun 8 03:10:33 CDT 2012


Thanks Min, this is perfect. I modified it to just execute and save the
results:

https://gist.github.com/2894405

On Thu, Jun 7, 2012 at 9:02 PM, MinRK <benjaminrk@gmail.com> wrote:

>
>
> On Thu, Jun 7, 2012 at 8:56 PM, Fernando Perez <fperez.net@gmail.com>wrote:
>
>> On Thu, Jun 7, 2012 at 1:30 AM, Jonathan Taylor
>> <jonathan.taylor@stanford.edu> wrote:
>> > Just wondering if it's possible to effectively "run all" then "save" on
>> an
>> > .ipynb file
>> > from the command line.
>>
>> I think Min has some utilities to roughly do that, he mentioned it
>> today. Min, is that stuff available somewhere?
>>
>
> The simple examples I tossed together were:
>
> this one for running a notebook and checking for exceptions:
> https://gist.github.com/2620876
> and this one for a crude approximation of doctesting:
> https://gist.github.com/2620735
>
> They do not *save* the resulting notebook, but that shouldn't be much work
> beyond what is already there.
>
>
>>
>> f
>> _______________________________________________
>> IPython-User mailing list
>> IPython-User@scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-user
>>
>
>
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user
>
>


-- 
Jonathan Taylor
Dept. of Statistics
Sequoia Hall, 137
390 Serra Mall
Stanford, CA 94305
Tel:   650.723.9230
Fax:   650.725.8977
Web: http://www-stat.stanford.edu/~jtaylo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20120608/3d51f5c9/attachment.html 


More information about the IPython-User mailing list