📅  最后修改于: 2022-03-11 14:46:24.442000             🧑  作者: Mango
import pyautogui
# Holds down the alt key
pyautogui.keyDown("alt")
# Presses the tab key once
pyautogui.press("tab")
# Lets go of the alt key
pyautogui.keyUp("alt")