Type testing

Alessandro Bottoni Alessandro.Bottoni at think3.com
Wed Mar 15 18:01:23 CET 2000

Is it possible to test for the type of an object (I mean, a built-in object:
a digit, a string, etc...)?

I'm looking for something like:

Result = isDigit(MyVariable)

Result = isString(MyVariable)

(Result = true | false, 1 | 0)


Alessandro Bottoni
(Alessandro.Bottoni at Think3.com)
(alessandro.bottoni at libero.it)
Web Programmer
Think3 inc.

More information about the Python-list mailing list