Skip to content

Instantly share code, notes, and snippets.

View ThomasGust's full-sized avatar
:octocat:
Probably coding

Thomas Gust ThomasGust

:octocat:
Probably coding
  • Seattle, WA
  • 14:02 (UTC -08:00)
View GitHub Profile
@ThomasGust
ThomasGust / auto_clicker.py
Created December 15, 2022 02:54
An incredibly simple barebones auto clicker. This script utilizes the pynput library to create a simple auto clicker with a cps of approximately 27.8 clicks per second. This was mainly just an experiment for me to get some basic pynput experience.
from pynput.mouse import Controller
from pynput.mouse import Button
from pynput import keyboard
import time
mouse = Controller()
def on_press(key):
try: