how to record keyboard and mouse moves in pyautogui code example Example: pyautogui mouse up mouse down >>> import pyautogui >>> pyautogui.click(10, 5)