[python-win32] Using win32com Constants

David Carter dactex at swbell.net
Fri Feb 17 22:57:49 CET 2006


Why is it that when I want to use a win32COM constant such as acViewNormal
in an MS Access COM automation session I find I have to use some convoluted
thing like:

	ComConstants = win32com.client.constants.__dict__["__dicts__"][0]
	viewtype = ComConstants['acViewNormal']

Am I missing something obvious? 

Thanks
David Carter




More information about the Python-win32 mailing list