Python COM Server Type Library

Mark Hammond MarkH at ActiveState.com
Fri Jun 30 10:59:05 EDT 2000


"Charles Medcoff" <cmedcoff at my-deja.com> wrote in message
news:8ji8kj$7n4$1 at nnrp1.deja.com...

> That gives me an idea.  Wouldn't it be nice to have a utility that you
> could point at a type library and would generate a python script to
> implement those components defined in the the library (with stubbed
> methods of course).  I wonder if the pyhton win32 extensions expose
> enought of the win32 api to do this?

Well, this is very nearly makepy.  Indeed, makepy _does_ do exactly this
for "source" (ie, event) interfaces, so it wouldnt be hard to extend to
optionally do it for all interfaces.

Mark.





More information about the Python-list mailing list