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文本就代表成功。

相关文章:

  • 2021-08-09
  • 2021-12-31
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-15
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-09
  • 2021-06-15
  • 2021-08-27
  • 2021-08-10
相关资源
相似解决方案