from pyautogui import position while True: print(position())