DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Object Introspection

05.11.2005
| 1440 views |
  • submit to reddit
        
dir(obj)
vars(obj)
obj.__dict__

There are more information when call it again with
obj.__class__ and klass.__bases__