textvariables in Labels don't work in Win98se
Nick Brown
brown.2053 at osu.edu
Sat Jul 22 00:46:13 EDT 2000
I am running Python 1.5.2 in Win98se. When I run this program:
from Tkinter import *
root=Tk()
myString=StringVar()
Label(root, textvariable=myString).pack()
myString.set('hello there')
root.mainloop()
I get a window with empty space.
But when I run the EXACT SAME CODE on a Linux box, I get a window with the
text 'hello there' in it. Why does the same simple program work differently
in Win98se than in Linux?
More information about the Python-list
mailing list