is variable a list?

James Punteney jamesp at simplypets.com
Tue Jan 4 19:32:32 EST 2000


Hello,

Is there some way to determine whether a variable is list or a string?
Basically I have a variable that I would like to be able to be a string
or a list, but I need some way to tell which it is.

Thanks for the help,
--James Punteney

jamesp at simplypets.com




More information about the Python-list mailing list