[python-win32] IE toolbar button in Python

Amit Upadhyay upadhyay at gmail.com
Wed Mar 1 11:12:27 CET 2006


On 3/1/06, Amit Upadhyay <upadhyay at gmail.com> wrote:
>
>
> I am using build 204, and am right now downloading 207, which is latest on
> sf.net. Will I have to get the latest from CVS for it to work?


I tried 207, and its working, or atleast I am not getting that perticular
error.

Now I am getting:

Traceback (most recent call last):
  File "iebutton.py", line 37, in ?
    win32com.client.gencache.EnsureModule
('{EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B}',0,1,1)
  File "C:\Python24\Lib\site-packages\win32com\client\gencache.py", line
393, in EnsureModule
    module = GetModuleForTypelib(typelibCLSID, lcid, major, minor)
  File "C:\Python24\Lib\site-packages\win32com\client\gencache.py", line
258, in GetModuleForTypelib
    mod = _GetModule(modName)
  File "C:\Python24\Lib\site-packages\win32com\client\gencache.py", line
629, in _GetModule
    mod = __import__(mod_name)
  File "c:\python24\lib\site-packages\win32com\gen_py\EAB22AC0-
30C1-11CF-A7EB-0000C05BAE0Bx0x1x1.py", line 813
    """method InvokeContextMenuCommand"""
        return self._oleobj_.InvokeTypes(8, LCID, 1, (24, 0), ((8,
1),),strCommand
                                         ^
SyntaxError: invalid syntax

I have tried deleting the content of gen_py before starting that script
again.


--
Amit Upadhyay
Blog: http://www.rootshell.be/~upadhyay
+91-9867-359-701
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20060301/c1c739c5/attachment.htm 


More information about the Python-win32 mailing list