detecting variable types

Jay wjjeonk at hotmail.com
Wed Sep 22 15:24:22 EDT 2004


I'm sure this is a really dumb question, but how do you detect a variable
type in Python?

For example, I want to know if the variable "a" is a list of strings or a
single string. How do I do this?





More information about the Python-list mailing list