win32com, generating the cache programaticaly?

Andrew Markebo andrew.markebo at comhem.se
Wed Oct 12 04:15:17 EDT 2005


| You can use win32com.client.gencache.EnsureDispatch
| to automatically generate the makepy file for an object's library
| when the object is created.  Use the bForDemand option to
| only generate the code for objects as needed.

Drats, I get an:

 raise TypeError, "This COM object can not automate the makepy process
 - please run makepy manually for this object"

Thanx anyway!

 /Andy

-- 
 Feet up, heads down - keyboard still in the middle



More information about the Python-list mailing list