display mouse position pyautogui code example Example: pyautogui current mouse position import pyautogui pyautogui.displayMousePosition()