A Simple Tkinter Control Program--Slight Problem

r rt8396 at gmail.com
Wed Mar 4 19:21:15 CET 2009


On Mar 4, 12:09 pm, "W. eWatson" <notval... at sbcglobal.net> wrote:
> Here's what I think the author meant in discussing a control variable sample
> program. <http://effbot.org/tkinterbook/entry.htm>
>
> from Tkinter import *
>
> v=Tk.StringVar()
[snip]

If you do a "from Tkinter import *" then here is the proper line...
v = StringVar()





More information about the Python-list mailing list