[Twisted-Python] Twisted and wxPython

David Ripton dripton at ripton.net
Thu Nov 5 13:14:23 MST 2009


On 2009.11.05 18:14:57 +0000, Jon Mills wrote:
> Can anybody point me towards a nice up-to-date example of the use of
> Twisted with wxPython?
> 
> I assume (hope) there's some way to bind the wx event loop into
> Twisted's Reactor? Or do they need to run in separate
> threads/processes?

wx has multiple event loops so reactor integration isn't as easy as it
should be.

Longer version of that answer here:

http://wiki.wxpython.org/wxPythonAndTwisted

Here's an example of doing it with threads:

https://pangalactic.us/repo/ampchat

-- 
David Ripton    dripton at ripton.net




More information about the Twisted-Python mailing list