B
Bob Greschke
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
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