""" Set pyautgui.PAUSE to a small number. Default is 0.1 secs between actions. Here is example code: """ import pyautogui pyautgui.PAUSE = 0.01 # can be a float or an integer # Now this can increase the speed of your spambot/autoclicker/whatever!