from pymouse import PyMouse
m = PyMouse()
m.position()#獲取當前坐標的位置
m.move(x,y)#鼠標移動到xy位置
m.click(x,y)#移動並且在xy位置點擊
m.click(x,y,1|2)#移動並且在xy位置點擊,左右鍵點擊