import pyautogui from time import sleep pyautogui.moveTo(772,473) for i in range(100): sleep(0.5) pyautogui.click()