[IPython-User] Interrupting current calculation in an ipython embedded in a Qt gui app
Tue Dec 4 08:00:03 CST 2012
What trouble do you have with zmq? That's the way we support the Qt
console, including on Windows, so it sounds like the best point to tackle.
On 4 December 2012 09:31, Antony Lee <email@example.com> wrote:
> Hi all,
> I am embedding ipython in a Qt gui app. ipython is running in its own
> QThread (in the terminal, not in a Qt widget -- I have trouble making zmq
> work on Windows and I have to support this platform too...).
> I would like a way to stop the computation ipython is currently doing,
> either with Ctrl-C, or with a command from the app (basically something
> like throwing a KeyboardInterrupt in ipython's thread). Unfortunately,
> Ctrl-C raises a KeyboardInterrupt in the *main* thread, not ipython's
> thread; and I see no way to achieve that by running commands from another
> Any help would be welcome!
> IPython-User mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-User