[Twisted-Python] Welcome (and some questions)

Henning.Ramm at mediapro-gmbh.de Henning.Ramm at mediapro-gmbh.de
Sun Sep 11 13:28:14 EDT 2005

>>5) Does there exist example of twisted application with wxpython GUI?
>wxPython is a challenge to integrate with.  There have been 
>several strategies attempted and discarded over the years.  
>The current popular idea involves a new reactor which lets a 
>foreign event loop maintain more control over the program's 
>execution.  There has been no Twisted release since this was 
>added though, so if you want to try it out you'll need to get 
>an SVN checkout of Twisted.  If you do, you'll find some 
>examples in doc/core/examples/threadedselect/.  You can also 
>browse these online at 

threadedselectreactor works great, and you need only one file from SVN.

Here are the basics to use it:

import wx
from twisted.internet import threadedselectreactor
from twisted.internet import reactor

# on startup (in my app's __init__):

# on end (in my app's __del__):

main = MyApp()

Best regards,
Henning Hraban Ramm
Südkurier Medienhaus / MediaPro
Support/Admin/Development Dept.

More information about the Twisted-Python mailing list