[PyQt] Is there a way to run the interp AND a gui?

Ville M. Vainio vivainio at gmail.com
Thu Mar 4 08:03:49 GMT 2010


On Thu, Mar 4, 2010 at 4:51 AM, Jason H <scorp1us at yahoo.com> wrote:
> Undoubtedly, that would work for showing the widget. And yes, I've done that much. Unless something has changed recently,  I eventually have to call app.exec_(), which would block until last window has closed...

You shouldn't need to call app.exec_, the readline input hook is
spinning the qt event loop already (google around for PyOS_InputHook).

-- 
Ville M. Vainio
http://tinyurl.com/vainio


More information about the PyQt mailing list