[python-win32] COM-interfaces in python

Tim Roberts timr at probo.com
Tue Feb 21 18:53:32 CET 2012


bill.tutt at gmail.com wrote:
> Ctypes doesn't add any breadth in this area? (I don't have a clue since ctype com stuff didn't exist when I last cared.)

It's not a trivial problem to solve  COM objects other than IDispatch
require compile-time support of the kind ctypes provides.  It's very
difficult to provide that in an interpreted language.

The comtypes package, which builds off of ctypes, will allow you to do this.

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the python-win32 mailing list