Running the makepy tool automatically from a python script
rupole at hotmail.com
Tue Jun 22 00:14:47 CEST 2004
win32com.client.gencache.EnsureDispatch('your.application') will generate
makepy module for the interface if it doesn't already exist.
"Svenn-Ivar Svendsen" <ssvendsen at atmel.com> wrote in message
news:67c8710b.0406211039.1824b6dc at posting.google.com...
> I use the makepy tool in pythonwin to generate wrappers for my
> connection point (event) interfaces in a project. It works fine.
> The question is; Is it possible, in a python script, to detect if
> wrappers for COM (event) interfaces the script uses have been created,
> and in case not somehow call the makepy tool manually before
> proceeding? How should this be done?
> Best regards,
More information about the Python-list