Reputation: 53031
Many Python scripts and examples contain import win32api
. However, from the name it is not directly clear what this library is or which library it is part of. What is the win32api
module and where can it be found / how can it be installed?
(NB: This also applies to the win32con
and win32file
modules.)
Upvotes: 140
Views: 355856
Reputation: 1990
There is a a new option as well: get it via pip! There is a package pypiwin32 with wheels available, so you can just install with: pip install pypiwin32
!
Edit: Per comment from @movermeyer, the main project now publishes wheels at pywin32, and so can be installed with pip install pywin32
Upvotes: 184
Reputation: 3148
I've found that UC Irvine has a great collection of python modules, pywin32 (win32api) being one of many listed there. I'm not sure how they do with keeping up with the latest versions of these modules but it hasn't let me down yet.
UC Irvine Python Extension Repository - http://www.lfd.uci.edu/~gohlke/pythonlibs
pywin32 module - http://www.lfd.uci.edu/~gohlke/pythonlibs/#pywin32
Upvotes: 8
Reputation: 17863
'pywin32' is its canonical name.
http://sourceforge.net/projects/pywin32/
Upvotes: 123