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

Fernando Perez fperez.net at gmail.com
Tue Jul 24 02:21:55 EDT 2012


On Sun, Jul 15, 2012 at 6:58 AM, Ivan Zhang <mirage007 at 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