AutoPy跨平臺(tái)的Python GUI工具包
AutoPy是一個(gè)簡(jiǎn)單跨平臺(tái)的 Python GUI工具包,可以控制鼠標(biāo),鍵盤,匹配顏色和屏幕上的位圖。使用純ANSI C編寫而成,可運(yùn)行在Mac OS X, Windows和 X11上。
示例代碼:
import autopy
def hello_there_world():
autopy.alert.alert("Hello, world")
hello_there_world()
下載二進(jìn)制安裝包:
源碼安裝方式:
$ git clone git://github.com/msanders/autopy.git $ cd autopy $ python setup.py build
評(píng)論
圖片
表情
