Using a type library with win32com

Mark Hammond mhammond at skippinet.com.au
Wed May 21 19:43:45 EDT 2003


Jan Persson wrote:

> Is this the correct way to do it or is win32com able to generate
> typelib information on it's own?

win32com can generate type libraries - just that no one has coded 
anything to take a .py file and create a .tlb magically.  Contributions 
welcome :)

Also see win32com\servers\test_pycomtest.py - this does something 
similar - it implements types defined in an external type library, 
without needing to "clone" the type lib in the .py code.

Mark.





More information about the Python-list mailing list