use win32 COM in python

Dave Brueck dave at
Mon Aug 30 16:31:20 CEST 2004

Lin Jingxian wrote:

> hi,
>   I have a C++ implemented COM server that give out a method like: int
> read(unsigned char* buf, int lenth), How can I use this method from python?
> what is the signature?

Have a look at ctypes and/or win32com - they allow you to use COM (in 
varying degrees) from Python, so what you're trying to do is probably 


More information about the Python-list mailing list