ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.
#-*-coding:utf8-*- from pywinauto.application import Application app = Application(backend="uia").start("notepad.exe")
运行报错:ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.
改为:#-*-coding:utf-8-*-
这样就可以了