About Pywin32's invoke

Roger Upole rupole at hotmail.com
Sat Oct 27 20:43:35 CEST 2007

"kernel1983" <kernel1983 at gmail.com> wrote in message news:1193278445.657569.149940 at y27g2000pre.googlegroups.com...
> By reading the doc of pywin32
> we can invoke COM like:
>    o = win32com.client.Dispatch("Excel.Application")
> but is it possible to invoke some GUID directly?

Yes, you can do something like

> If COM was going to be invoked by python, must it support IDispatch?

Not neccessarily.  Pythoncom has compiled-in support for many interfaces
that don't inherit from IDispatch, but it requires that someone write code
to wrap the interface.


----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----

More information about the Python-list mailing list