小编Mi *_*res的帖子

如何使用 PyAutoGUI 检测按键事件?

如何使用 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
Run Code Online (Sandbox Code Playgroud)

python-2.7 pyautogui

7
推荐指数
2
解决办法
2万
查看次数

标签 统计

pyautogui ×1

python-2.7 ×1