[BangPypers] win32com.client.Dispatch

Nitin Kumar nitin.nitp at gmail.com
Tue Dec 27 13:04:05 CET 2011


Hi All,

Say I did
x=win32com.client.Dispatch("{6BF52A52-394A-11d3-B153-00C04F79FAA6}")

where the clsid used is for window media palyer.
Now if i do:
>>> dir(x)
['_ApplyTypes_', '_FlagAsMethod', '_LazyAddAttr_', '_NewEnum', '_Release_',
'__AttrToID__', '__LazyMap__', '__call__', '__doc__', '__eq__',
'__getattr__', '__getitem__', '__init__', '__int__', '__len__',
'__module__', '__ne__', '__nonzero__', '__repr__', '__setattr__',
'__setitem__', '__str__', '_builtMethods_', '_enum_',
'_find_dispatch_type_', '_get_good_object_', '_get_good_single_object_',
'_lazydata_', '_make_method_', '_mapCachedItems_', '_oleobj_', '_olerepr_',
'_print_details_', '_proc_', '_unicode_to_string_', '_username_',
'_wrap_dispatch_']

It won't show any function related to this specific dll. This happens with
any COMObject.
So, is there any way to find out what all functions can be used with this
object. (or any doc to give more depth)

-- 
Nitin K


More information about the BangPypers mailing list