Could anybody tell me the difference between Dispatch and DispatchEx.
I am new to python and extremely confused about the usage of the two methods.

Recommended Answers

I could find DispatchEx neither in the python documentation nor in the docs to PythonWin. Must be from some other module You are using.

Jump to Post

All 3 Replies

I could find DispatchEx neither in the python documentation nor in the docs to PythonWin. Must be from some other module You are using.

I could find DispatchEx neither in the python documentation nor in the docs to PythonWin. Must be from some other module You are using.

I am using the win32com.client.Dispatch and the win32com.client.DispatchEx.These are methods found in the win32 extension of python.

>>> Dispatch.__doc__
'Creates a Dispatch based COM object.\n  '
>>> DispatchEx.__doc__
'Creates a Dispatch based COM object on a specific machine.\n  '

Looks like the latter is for remote objects. Still could not find any other documentation... :confused:

HTH

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.