pyautogui get mouse position x y code example Example: pyautogui current mouse position import pyautogui pyautogui.displayMousePosition()