Need to interrupt to check for mouse movement
Christopher Subich
spam.csubich+block at block.subich.spam.com
Thu Jul 21 11:09:26 EDT 2005
Paul Rubin wrote:
> Huh? It's pretty normal, the gui blocks while waiting for events
> from the window system. I expect that Qt and Tk work the same way.
Which is why I recommended Twisted for the networking; it integrates
with the toolkit event loops so it automagically works:
http://twistedmatrix.com/projects/core/documentation/howto/choosing-reactor.html#auto15
I agree, though, that basic socket programming in the same thread as the
gui's probably a bad idea.
More information about the Python-list
mailing list