如何使用 PyAutoGUI 检测按键事件?在我的研究中,我无法在这个模型中举例:
import pyautogui num = 0 if pyautogui.press('b'): # I know the right thing is not to use the press, but, what do I put in place? num = 1
python-2.7 pyautogui
pyautogui ×1
python-2.7 ×1