Where do I find the dispatch name?

James Carroll mrmaple at gmail.com
Wed May 25 13:20:27 EDT 2005


I just ran makepy to create a wrapper for my com object, and it
generated the wrapper with the CLSID.py under
site-packages/win32com/gen_py/

Now, I'm trying to figure out how to invoke it.  How do I figure out
what string to give Dispatch?

For instance:
xl = win32com.client.Dispatch("Excel.Application")

If I understand right would give me an instance of the wrapper....
Do I give it the entire classID?

-Jim



More information about the Python-list mailing list