[IPython-dev] using ipkernel to provide access to an application's internals

Fernando Perez fperez.net@gmail....
Tue Jul 24 01:21:55 CDT 2012


On Sun, Jul 15, 2012 at 6:58 AM, Ivan Zhang <mirage007@gmail.com> wrote:
> I.e. say my application is a GUI, and there is a simple text box to type in
> commands, and I pipe it into an embeded kernel, how do I connect other
> regular ipython consoles, or qtconsoles to it to check its state?

You may want to look at these examples:

https://github.com/ipython/ipython/blob/master/docs/examples/lib/internal_ipkernel.py
https://github.com/ipython/ipython/blob/master/docs/examples/lib/ipkernel_qtapp.py

which basically do what you are asking.

Cheers,

f


More information about the IPython-dev mailing list