Created
March 31, 2022 16:19
-
-
Save kingjr/18725e3ac0a178f4b7bf9f41f7933f28 to your computer and use it in GitHub Desktop.
move_cursor.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pynput.mouse import Controller | |
import time | |
mouse = Controller() | |
for i in range(10_000_000): | |
mouse.move((i % 2)*2-1, 0) | |
time.sleep(60.) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment