pip install pywinauto

pip install pywinauto

 

 

 

 

pip install pywinauto

ERROR: Could not find a version that satisfies the requirement six (from pywinauto) (from versions: none)
ERROR: No matching distribution found for six (from pywinauto)
WARNING: You are using pip version 19.2.3, however version 20.0.2 is available.
You should consider upgrading via the python -m pip install --upgrade pip command.
pip install six

pip install pywinauto

 

 

测试是否成功安装

新建一个 文件  OpenTXT.py,输入:

from pywinauto.application import Application
app = Application(backend="uia").start("notepad.exe")

命令行下:

 python D:\xxxxx\Python\OpenTXT.py

 

正常打开TXT文本就代表成功。

pip install pywinauto

上一篇:C# list集合数据给Mdoe类属性赋值


下一篇:C#中WebRequest请求的一些心得