pyautogui hotkey screenshot code example
Example 1: pyautogui ctrl c
>>> pyautogui.hotkey('ctrl', 'c') # ctrl-c to copy
>>> pyautogui.hotkey('ctrl', 'v') # ctrl-v to paste
Example 2: python pyautogui how to change the screenshot location
pyautogui.screenshot(region=(0,0, 300, 400))
#Thank me later