Hi Luciano, Please download & install comtypes-0.6.2.win32.exe package from http://sourceforge.net/projects/comtypes/files/comtypes/0.6.2/ to fix your error. You have probably installed comtypes-0.6.2-win32-py3.exe which is meant for Python 3.
Regards, Suraj On Mon, Mar 11, 2013 at 4:33 PM, Luciano Strassacappa <luciano.strassaca...@gmail.com> wrote: > I had to install python 32 bits in my notebook (windows 8 64 bits) > > Luciano > > Em 10/03/2013 20:53, "Michael Curran" <m...@nvaccess.org> escreveu: > >> 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 > > > ------------------------------------------------------------------------------ > 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 > ------------------------------------------------------------------------------ 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