pywin – import win32ui in python 3.6
pywin – import win32ui in python 3.6
pywin32
doesnt expose a module named pywin32
. Instead, it separates out into multiple modules that map to various parts of the Windows API.
So for you, the import statements should look like:
from win32 import win32gui
import win32ui
import win32con
First, make sure you have installed the latest version of pywin32, now in GitHub:
https://github.com/mhammond/pywin32/releases