Quantcast
Channel: CodeSection,代码区,Python开发技术文章_教程 - CodeSec
Viewing all articles
Browse latest Browse all 9596

PyAutoGUI-python版的autoit/AHK

$
0
0

文本简单介绍各个图形界面自动操作的python库,类似按键精灵\autoit\ahk(autohotkey)等等这些自动化工具。

============================================================

第一推荐的库: PyAutoGUI 跨平台

PyAutoGUI 在windows下无依赖,只要执行命令pip install PyAutoGUI 就可以完成安装。

这篇文章不错,内容也挺多,请直接看这篇文章:

《PyAutoGUI――让所有GUI都自动化》 https://muxuezi.github.io/posts/doc-pyautogui.html

作者提供了一个 python自动玩游戏的代码和演示视频: https://github.com/asweigart/sushigoroundbot

PyAutoGUI文档: https://pyautogui.readthedocs.io/en/latest/

https://github.com/asweigart/pyautogui

================================================================================

第二推荐的库:pywinauto windows only

pywinauto 依赖pywin32模块,安装pywin32模块后执行命令pip install pywinauto 安装即可。

pywinauto文档: http://pywinauto.github.io/docs/

https://github.com/pywinauto/pywinauto

其它类似的库:

================================================================================

autopy更新不活跃,对python3没有好的兼容。

https://github.com/msanders/autopy

================================================================================

pyahk 依赖ahk.dll

https://pypi.python.org/pypi/pyahk

================================================================================

pyautoit 依赖autoit.dll实现autoit的各种自动化功能

https://github.com/jacexh/pyautoit

2016年9月11日 07:48:23 codegay


Viewing all articles
Browse latest Browse all 9596

Trending Articles