Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Object Introspection

DZone's Guide to

Object Introspection

·
Free Resource

dir(obj)
vars(obj)
obj.__dict__


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

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}