textvariables in Labels don't work in Win98se

richard_chamberlain richard_chamberlain at ntlworld.com
Sat Jul 22 02:41:14 EDT 2000


Nick,

I'm running win98se and it runs fine, obviously have a setup issue
somewhere.

Richard

Nick Brown <brown.2053 at osu.edu> wrote in message
news:8lb8qr$3s1$1 at mcnet.marietta.edu...
> 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