How do I press 2 keys at a time using pyautogui?
I want to press control + left arrow on my mac to swipe my screen. This is what I tried: import pyautogui pyautogui.press(["ctrl" ,"left"]) it does not work. >Solution : the code seems correct. the problem might be because you are running the code in your IDE, and you might have clicked on the text… Read More How do I press 2 keys at a time using pyautogui?