[IPython-User] running notebooks from a script

Damián Avila damianavila@gmail....
Fri Apr 26 14:24:30 CDT 2013


El 26/04/13 16:20, Skipper Seabold escribió:
> On Fri, Apr 26, 2013 at 3:18 PM, Damián Avila <damianavila@gmail.com> wrote:
>> El 26/04/13 15:49, Skipper Seabold escribió:
>>
>> On Fri, Apr 26, 2013 at 9:06 AM, Skipper Seabold <jsseabold@gmail.com>
>> wrote:
>>
>> Hi,
>>
>> I was looking at how IPython includes the examples/notebooks/ in the
>> documentation, and it looks like the whole notebook, output and all,
>> is version controlled.
>>
>> I'd like to only version control the input cells, but on doc build
>> time "run" the notebooks so that they have output. It seems like this
>> should be doable given careful handling of a profile and the path. Any
>> hints on where I could look to accomplish this?
>>
>>
>> Issue already exists with some pointers.
>>
>> https://github.com/ipython/ipython/issues/1675
>> https://github.com/ipython/nbconvert/issues/13
>>
>> Skipper
>> _______________________________________________
>> IPython-User mailing list
>> IPython-User@scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-user
>>
>>
>>
>> Maybe this can help you: https://gist.github.com/damianavila/5208296
>>
> Thanks, I was just looking at similar. It seems that
> BlockingKernelManager has disappeared in master though.
>
> https://gist.github.com/minrk/2620876
>
> Skipper
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user

Yeah, it was some changes some months ago with the kernel location in 
master.

This script is working with the current development version (1.0) , at 
least from 1 month ago ;-)

Cheers.

Damián.




More information about the IPython-User mailing list