#-*-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-*-
这样就可以了
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.
原文:https://www.cnblogs.com/pfeiliu/p/12855941.html