#you need to install pyautogui like this: #py.exe -m pip install pyautogui #then... import pyautogui,time while True: pyautogui.click(100,100) time.sleep(0.5)