Am 28.01.2009 um 10:05 schrieb Graham Bloice:

Or, use the built in win32com support for constants, e.g. win32com.client.constants.myConstantName. Note I think this only works if you've run MakePy over the type library for the object.

Search the pythonwin help for the Quick Start to Client side COM.


Got it! The constants I'm interested get slightly different names but so it's worth a look at the generated Python file which has them all nicely commented.

Charlie
--
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226



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

Reply via email to