[IPython-User] integrating ipython with a cocoa application

Fernando Perez fperez.net@gmail....
Sun Jun 3 22:07:22 CDT 2012


Hi,

On Tue, May 29, 2012 at 2:26 PM, Robert L Cloud <rcloud@uab.edu> wrote:
> Secondly, if I start an IPython Kernel from within python, will it
> necessarily be blocking?

No, a kernel embedded in a GUI app doesn't block, see the examples I
showed you.  Now, once users give some code for that kernel to execute
it does block until the code returns, but not otherwise.

You can also run the kernel in a background thread, if you want.  It's
a simple way of letting external codes connect to yours while
everything continues to run as before.

Cheers,

f


More information about the IPython-User mailing list