[IPython-User] running notebooks from a script

Skipper Seabold jsseabold@gmail....
Tue Apr 30 11:51:38 CDT 2013


On Sun, Apr 28, 2013 at 2:58 PM, MinRK <benjaminrk@gmail.com> wrote:
> Just to follow up - that PR has been merged, so the gists should work fine
> with master and 0.13 now.

Thanks. Got it working perfectly.

One question. What's the assumption on timeout here [1]

https://gist.github.com/minrk/2620735#file-ipnbdoctest-py-L91

and here [2]

https://gist.github.com/minrk/2620735#file-ipnbdoctest-py-L96

It looks like, if I have a cell that may contain long-running code, I
should set the timeout in [1] to be something high and [2] is just for
talking to the kernel to get output status. However, if the code in
[1] doesn't take, say, the 20 seconds hard-coded there, does get_msg
still wait for the whole timeout? It looks like this might be the case
on a cursory run.

Skipper


More information about the IPython-User mailing list