The type of a tkinter StringVars and IntVars?
Bob Greschke
bob at passcal.nmt.edu
Thu Oct 21 18:41:21 EDT 2004
If I have
a = 6
I can do somehting like
if type(a) == int:
Root.bell()
How would I do the same thing if
a = IntVar()
a.set(6)
and then do
if type(a) == IntVar:
Root.bell()
Type() just returns that they are an 'instance'. Is there a way?
Thanks!
Bob
----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---
More information about the Python-list
mailing list