Type testing

Aahz Maruch aahz at netcom.com
Wed Mar 15 12:05:08 EST 2000


In article <6D8A17398E28D3119F860090274DD7DB498597 at pces.cadlab.it>,
Alessandro Bottoni  <Alessandro.Bottoni at think3.com> wrote:
>
>Is it possible to test for the type of an object (I mean, a built-in object:
>a digit, a string, etc...)?

Use the built-in type() function and the types module.
--
                      --- Aahz (Copyright 2000 by aahz at netcom.com)

Androgynous poly kinky vanilla queer het    <*>     http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6

Three sins: BJ, B&J, B&J  --Aahz



More information about the Python-list mailing list