[python-win32] Re: Constants quit working under Python 2.5

Roger Upole rwupole at msn.com
Sat Apr 7 23:56:31 CEST 2007


kc106_2005-pywin32 at yahoo.com wrote:
> Hi list,
>
> I upgraded to Python 2.5 for evaluation and testing.   After installing the pywin32-210.win32-py2.5.exe, I found that the 
> constants module doesn't work.  For example, this code fails:
>
>   from win32com.client import Dispatch, constants
>
>   print constants.xlDown
>
> I re-execute makepy.py and selected "Microsoft Office 10.0 Object Library (2.2)" but the problem persists.
>
> What should I do?
>
> Thanks,
>
> --
> John Henry

xlDown appears to be in the Excel object library rather than
the Office object library.

       hth
           Roger



More information about the Python-win32 mailing list