Get all attributes of a com object

bruno at modulix onurb at xiludom.gro
Fri Apr 28 05:29:10 EDT 2006


eicwo01 wrote:
> Thanks for your tips.
> But dir() and inspect did not really help.

Really ?

def dump(obj):
  for name in dir(obj):
     print getattr(obj, name)

-- 
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