How to detect what type a variable is?
grante at visi.com
Wed Nov 29 16:41:19 CET 2006
On 2006-11-29, Leandro Ardissone <lardissone at gmail.com> wrote:
> I want to know what type is a variable. For example, I get the
> contents of an xml but some content is a list or a string, and
> I need to know what type it is.
>>> x = 'asdf'
>>> i = 0
Grant Edwards grante Yow! I Know A Joke!!
More information about the Python-list