First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question
0

Python win32com

asked Aug 21 '17

YI-WEI gravatar image

updated Aug 21 '17

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

1 answer

Sort by » oldest newest most voted
0

answered Aug 21 '17

nelak gravatar image

win32com.client is a part of pywin32

You can download pywin32 from here

link

Comments

What I need to download? in this webpage

YI-WEI gravatar imageYI-WEI (Aug 21 '17)

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 (Aug 21 '17)

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

YI-WEI gravatar imageYI-WEI (Aug 26 '17)

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

2 followers

Stats

Asked: Aug 21 '17

Seen: 1,070 times

Last updated: Aug 21 '17