The error shows that comtypes.client code is using Python 3 syntax. Where did you get Comtypes 0.6.2 from? are you sure it was a Python 2 build and not a Python 3 one?
Mick On 10/03/2013 1:45 PM, vic wrote: > when i import comtypes.client > i see : > >>> import comtypes.client > > Traceback (most recent call last): > File "<pyshell#0>", line 1, in <module> > import comtypes.client > File "D:\program files > (x86)\python27\lib\site-packages\comtypes\__init__.py", line 826 > class _compointer_base(c_void_p, metaclass=_compointer_meta): > ^ > SyntaxError: invalid syntax > > i used win7 64bit python 2.7.3 comtypes 0.6.2 > and anyone can help me? > > > ------------------------------------------------------------------------------ > Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester > Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the > endpoint security space. For insight on selecting the right partner to > tackle endpoint security challenges, access the full report. > http://p.sf.net/sfu/symantec-dev2dev > > > > _______________________________________________ > comtypes-users mailing list > comtypes-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/comtypes-users > -- -- Michael Curran Director, NV Access Limited Ph + 61 7 5667 8372 www.nvaccess.org ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ comtypes-users mailing list comtypes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/comtypes-users