Hi all - I was wondering what the proper way to access properties on
COM objects which take arguments (or optional arguments).

As an example, it's easy to get a 'System' WshEnvironment object:

shell = win32com.client.Dispatch("WScript.Shell")
sysEnv = shell.Environment
print sysEnv['PATH']

However, I can find no way to get a 'Volatile' environment object,
since the User/System/Volatile/Process argument for the Environment
property is optional.

How would I do this?

- Paul
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to