[twisted-python] Communication between GUI thread and twisted thread.

Ed Suominen general at eepatents.com
Mon Jun 18 10:48:23 EDT 2007

Itamar Shtull-Trauring wrote:
> On Mon, 2007-06-18 at 14:37 +0800, 甜瓜 wrote:
>> Hi, my program has two parts running in two threads. One is a GUI
>> layer, the other is a twisted layer for communication with a remote
>> server. 
> If you're using a GUI supported by Twisted (Qt3, GTK, wxPython, tkinter)
> you don't need two threads:
> http://twistedmatrix.com/projects/core/documentation/howto/choosing-reactor.html

Indeed, I have found Twisted's asynchronous processing to make GUI
programming much more intuitive and powerful. (I use PyQt, personally.)
To a computer, a user is as much a deferrable input source as is a
network connection.

Best regards, Ed

More information about the Twisted-Python mailing list