1, mouse
from pymouse Import PyMouse
MyMouse = PyMouse ()
# Get the current mouse position
# nowP myMouse.position = ()
# Print (nowP)
# mouse moved to the coordinate (x, y) at
myMouse.move (300,600 )
the time.sleep ( . 3 )
# mouse click, x, y coordinate position button 1 is represented left, 2 right-click n is the number of clicks, the default is 1, 2, double-click
# myMouse.click (the X-, the y-, the button, n)
# simple usage
myMouse.click (500,300)