Re: [python-win32] Using win32com Constants

2006-02-18 Thread David Carter
Thanks to all who have sent some assistance... What I'm trying to accomplish is to understand more of the nuts and bolts. I'm at the intermediates level of learning python on my own, so there are bound to be some gaps in my understanding of python's innner workings. Anyway... The constants becom

Re: [python-win32] Using win32com Constants

2006-02-17 Thread John Machin
On 18/02/2006 11:25 AM, Dan Glassman wrote: > David Carter wrote: > >>>-Original Message- >>>From: Robert Brewer [mailto:[EMAIL PROTECTED] >>>Sent: Friday, February 17, 2006 4:11 PM >>>To: David Carter; python-win32@python.org >>>S

Re: [python-win32] Using win32com Constants

2006-02-17 Thread Dan Glassman
David Carter wrote: >>-Original Message- >>From: Robert Brewer [mailto:[EMAIL PROTECTED] >>Sent: Friday, February 17, 2006 4:11 PM >>To: David Carter; python-win32@python.org >>Subject: RE: [python-win32] Using win32com Constants >> >> >>

Re: [python-win32] Using win32com Constants

2006-02-17 Thread David Carter
hon.org > Subject: RE: [python-win32] Using win32com Constants > > > David Carter wrote: > > 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 c

Re: [python-win32] Using win32com Constants

2006-02-17 Thread Robert Brewer
David Carter wrote: > 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 = ComConstan

[python-win32] Using win32com Constants

2006-02-17 Thread David Carter
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