pip install pywinauto

时间:2020-03-23 16:05:55   收藏:0   阅读:157

技术分享图片

 

 

 

 

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

技术分享图片

 

 

测试是否成功安装

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

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

命令行下:

 python D:\xxxxx\Python\OpenTXT.py

 

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

原文:https://www.cnblogs.com/panjinzhao/p/12552552.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!