import pyautogui def click_it(x, y): pyautogui.moveTo(x, y) pyautogui.click(x, y) if __name__ == '__main__': click_it(100, 100)