What's the difference?

Shalabh Chaturvedi shalabh at cafepy.com
Sun May 9 21:31:34 EDT 2004


SeeBelow at SeeBelow.Nut wrote:
> between this:
> 
> name = "C"
> 
> and this:
> 
> name   = StringVar()
> name.set("C")
> 
> I hope someone can explain that to me.

I couldn't run your code.

 >>> name   = StringVar()
Traceback (most recent call last):
   File "<stdin>", line 1, in ?
NameError: name 'StringVar' is not defined

Where did you get StringVar from?

> Thanks,
> 
> Mitchell Timin
> 

--
Shalabh





More information about the Python-list mailing list