mport win32ui in python 3.6

pywin32 doesn’t 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

Leave a Comment