Python COM and variable number of arguments

Mark Hammond mhammond at skippinet.com.au
Sat Sep 21 03:19:47 CEST 2002


Greg Green wrote:
> In this case I was using the makepy generated wrapper. I have
> M. Hammonds book and used the method of ensuring I was using the
> early-bound object.
> 
> So am I out of luck even if I have the wrapper?

You could also try passing with pythoncom.Missing or pythoncom.Emtpy in 
place of the positional arguments.  You may need to experiment to see 
what one works - it depends on the COM object.

Mark.




More information about the Python-list mailing list