📅  最后修改于: 2022-03-11 14:47:20.959000             🧑  作者: Mango
import keyboard
while not keyboard.ispressed("s"):
print("none")
if keyboard.ispressed("s"):
print("bottun pressed!")