is variable a list?
Aahz Maruch
aahz at netcom.com
Tue Jan 4 19:42:29 EST 2000
In article <38729120.7616054D at simplypets.com>,
James Punteney <jamesp at simplypets.com> wrote:
>
>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.
type(var)
--
--- Aahz (@netcom.com)
Androgynous poly kinky vanilla queer het <*> http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6
The problem with an ever-changing .sig is that you have to keep changing it.
More information about the Python-list
mailing list