Get all attributes of a com object
bruno at modulix
onurb at xiludom.gro
Thu Apr 27 11:33:53 EDT 2006
eicwo01 wrote:
> Without to know the names, is it possible to dump all attributes of a
> com object?
> from win32com.adsi import *
<ot>
from module import * is Bad(tm)
</ot>
> objDom = ADsOpenObject("LDAP:/ ...
> print ???"all attributes"??? of objDom
Look at dir() and the inspect module.
--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb at xiludom.gro'.split('@')])"
More information about the Python-list
mailing list