Skip to content

Instantly share code, notes, and snippets.

@keyan
Created May 19, 2021 17:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save keyan/3c7830572f372b500249a042ec69914b to your computer and use it in GitHub Desktop.
Save keyan/3c7830572f372b500249a042ec69914b to your computer and use it in GitHub Desktop.
programmatic clicker, for reasons...
from pynput.mouse import Button, Controller
import time
mouse = Controller()
while True:
mouse.click(Button.left, 1)
print('sleeping...')
time.sleep(30)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment