Ask Your Question
0

Python win32com

asked 2017-08-21 05:55:25 -0500

YI-WEI gravatar image

updated 2017-08-21 07:13:59 -0500

jconto gravatar image
 I run program automation file,but show the message in output bar:
----------------------------------------------------------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Program Files (x86)\PTI\PSSE33\EXAMPLE\pout_excel.py", line 70, in <module>
    import win32com.client
  File "C:\Python27\lib\site-packages\win32com\__init__.py", line 5, in <module>
    import win32api, sys, os
ImportError: DLL load failed: Can not find the specified module.
Couldn't open Python file:C:\Program Files (x86)\PTI\PSSE33\EXAMPLE\pout_excel.py

and I download the win32com but not sure it is right . PS: I use psse33 & python2.7

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2017-08-21 08:08:42 -0500

nelak gravatar image

win32com.client is a part of pywin32

You can download pywin32 from here

edit flag offensive delete link more

Comments

What I need to download? in this webpage

YI-WEI gravatar imageYI-WEI ( 2017-08-21 10:37:01 -0500 )edit

http://www.lfd.uci.edu/~gohlke/pythonlibs/#pywin32 One of these: pywin32‑221‑cp27‑cp27m‑win32.whl pywin32‑221‑cp27‑cp27m‑win_amd64.whl Depending on if you have 32 or 64 bit windows.

nelak gravatar imagenelak ( 2017-08-21 12:42:40 -0500 )edit

I download the "pywin32-221-cp27-cp27m-win_amd64.whl " file . What is the next step?

YI-WEI gravatar imageYI-WEI ( 2017-08-26 03:44:54 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

2 followers

Stats

Asked: 2017-08-21 05:55:25 -0500

Seen: 1,033 times

Last updated: Aug 21 '17