help, function to get variable type

Hong Jiang hong.jiang at acm.org
Wed Dec 24 03:57:12 EST 2003


> What is the function to check the varible type, for example, below is like
> in my clipper language:
> 
> x = valtype(m)
> 
> x will be "N", "C", "A", etc...
> 

x=type(m)

x will be str, int, tuple, dict ... etc.





More information about the Python-list mailing list