Tkinter listener thread?

Steve Holden steve at holdenweb.com
Thu Jan 26 18:32:32 CET 2006


gregarican wrote:
> I have a Python UDP listener socket that waits for incoming data. The
> socket runs as an endless loop. I would like to pop the incoming data
> into an existing Tkinter app that I have created. What's the
> easiest/most efficient way of handling this? Would I create a separate
> thread that has the listener set a certain Tkinter variable if there is
> incoming data? Any suggestions would be tremendously appreciated :-)
> 

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/82965
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC                     www.holdenweb.com
PyCon TX 2006                  www.python.org/pycon/




More information about the Python-list mailing list