[IPython-dev] wxPython console
Thu Nov 3 06:05:52 CDT 2011
On 3 November 2011 10:31, Emmanuel Bacry <email@example.com>wrote:
> Let's say I have a wx console widget ready, the wx main loop is running.
> Now I want to have a ipython shell object available, with stdin and stdout
> so that I can send to it input and get from it the output.
How does a Wx console widget work? I can't find a reference to it in the Wx
There is a protocol to run IPython in a separate process from the frontend.
This is what the Qt console uses. Requests and replies are packed into
JSON, and sent over ZMQ. There are message types for execution, tab
completion, history, etc.
If the console widget is a terminal emulator, a simple shortcut may be to
start plain ipython in that terminal.
At the moment, I don't think there's a good way to embed IPython in a GUI
without starting a separate process, but this is something we want to get
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev