Are Tkinter widgets running on their own thread?
If I try to make a simple application that will print the letters A to
Z to a Tkinter Text widget, and I space the printing of each letter by
1 second, it seems no text will appear in the Text widget until the
Take a look at this snippet:
# Assume I have created no threads other than the one that comes
Prints A-Z to the Text widget, 1 letter per second.
# Problem: no text appears in the widget until 26 seconds has
for aNumber in range(65, 91):
If I am supposed to send messages to Tkinter objects only from the
main thread, how can I get the letters to appear 1 per second?
Grokbase › Groups › Python › python-list › December 2007