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

Itamar Shtull-Trauring itamar at itamarst.org
Mon Jun 18 10:00:03 EDT 2007


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





More information about the Twisted-Python mailing list