pyautogui dragto list of coords code example
Example 1: python hotkey pyautogui
>>> pyautogui.press('enter') # press the Enter key
>>> pyautogui.press('f1') # press the F1 key
>>> pyautogui.press('left') # press the left arrow key
Example 2: pyautogui mouse up mouse down
>>> import pyautogui
>>> pyautogui.click(10, 5)