What is the command to determine an object's type?

MDK mdk at mdk.com
Tue Feb 5 15:27:19 EST 2002


How can I tell if an object is a string, a list, or a dictionary in a
program using if and ifelse so that I can perform a differnent action
depending on the object's type?





More information about the Python-list mailing list