import pyautogui from time import sleep pyautogui.click(x=602,y=416, clicks=1000, interval=0.2, button='left', duration=2)