Python PyAutoGUI和Pywinauto区别及安装

这两者最大共同点就是可以操作计算机,模拟人工输入和鼠标操作等等。不过这两者也有侧重点,PyAutoGUI侧重于鼠标,键盘,截图,消息框的功能,Pywinauto侧重对CS的操作,虽然都有键盘,鼠标等模拟输入,不过最核心还是软件上的操作比较多。可以说各有所长。 
PyAutoGUI安装:pip install pyautogui 
Pywinauto安装:pip install pywinauto

 

具体教程看官网: 
https://pywinauto.readthedocs.io/en/latest/index.html 
http://pyautogui.readthedocs.io/en/latest/introduction.html

posted @ 2018-07-16 14:05  白灰  阅读(8836)  评论(0)    收藏  举报