Class types

Mark McEahern marklists at mceahern.com
Tue Aug 20 11:26:53 EDT 2002


> How do I find out what type of object an instance is?

type(x)

// m

p.s.  Sample code that gives some concrete hint of your problem goes a long
way, believe it or not.

-





More information about the Python-list mailing list