move mouse pointer python code example
Example 1: python move mouse
import mouse
# Number of pixels to move by on x and y axis
x = 1
y = 2
mouse.move(x, y)
Example 2: python move mouse slowly
import autopy # pip install autopy
autopy.mouse.smooth_move(100, 600)