Tkinter listener thread?

gregarican greg.kujawa at gmail.com
Thu Jan 26 11:46:11 EST 2006


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 :-)




More information about the Python-list mailing list