How to import win32api and win32con - Python Forum
python-forum.io › thread-16213So I'm trying to import win32api and win32con. So I was researching and I found that I needed pywin32 to do this. So I used pip and installed it but python still said pywin32 was an invalid module. So I'm kinda stuck. Can someone help me? I tried this. from PyWin32 import win32api, win32con I also tried this from pywin32 import win32api, win32con
How to install the win32com python library - Super User
https://superuser.com/questions/60944718.06.2013 · Did you install the right binary of Python for Windows extensions for your version of Python? For example, if you install 64-bit Python, then install the 32-bit extensions, the pure-Python modules (like win32con) will import, but the C-extension modules (like win32api) will not; if you install Python 2.6, then install the extensions for 2.7, they may import but crash later; etc.