why would 'import win32com' fail?

Mike Driscoll kyosohma at gmail.com
Thu Oct 23 21:49:05 CEST 2008


On Oct 23, 2:21 pm, bill <wgr... at draper.com> wrote:
> All,
>
> I am trying to access Excel from Python. Many of the examples started
> with:
>
>       import win32com
>       ....
>       blah, blah
>
> I try that from my Python shell and it fails. What am I missing here?
>
> TIA,
>
> Bill

Dunno. Does it give a traceback? Does the interpreter just die? Or
what? My guess is you need to uninstall Pywin32 and then reinstall it.
I've seen it get goofy like this when I upgrade Pywin32 too.

Mike



More information about the Python-list mailing list