RE: named and optional arguments in Python for use with COM components?

2001-05-22 Thread Mark Hammond
If you use makepy generated code, it should be possible. You will probably need to change the top of the generated makepy file - change the "Default...Arg" values to one of the other candidates mentioned. Unfortunately I don't have it open right now and don't have the time to look. This has com

examples of Windows Script Host SendKeys, Run, etc.

2001-05-22 Thread Kevin Altis
I couldn't find specific examples of using the SendKeys method of Windows Script Host (WSH) from Python and win32com, so I converted some of the example scripts at MSDN from VBScript to Python. Hopefully, this will make conversion of some of your own scripts easier and allow you to write straight

named and optional arguments in Python for use with COM components?

2001-05-22 Thread Kevin Altis
I have a few Visual Basic (VB) and VBScript programs I would like to convert to Python, however some of them rely on named arguments and I'm wondering whether there is an equivalent way to pass arguments to a COM method in Python or whether there is a general Python syntax for doing named and/or o