tkinter socket client ?
Diez B. Roggisch
deetsNOSPAM at web.de
Fri Jan 21 07:22:42 EST 2005
> just one problem - I do not know how to sit in a "loop" accepting
> messages on the socket connection - writting them to the Text() widget
> - refreshing the the GUI - and then starting all over ....
> where do I put the loop for the socket ?
Another thread? Or use twisted, it comes with a tkinter-aware exec-loop:
http://twistedmatrix.com/documents/howto/choosing-reactor#auto16:
--
Regards,
Diez B. Roggisch
More information about the Python-list
mailing list