why would 'import win32com' fail?

B

bill

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
 
M

Marc 'BlackJack' Rintsch

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?

The `win32com` module? It is not part of the standard library.

Ciao,
Marc 'BlackJack' Rintsch
 
M

Mike Driscoll

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
 
B

bill

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


Thanks for the responses. I did not realize it had to be downloaded.

Bill
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top