Python COM and variable number of arguments

Mark Hammond mhammond at
Fri Sep 20 21:19:47 EDT 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.


More information about the Python-list mailing list