我想知道如何在python中按下一个键
我试着做:
import msvcrt as keys
while True:
key = keys.getch()
if key == "a":
print("You have pressed a")
有谁知道如何修理它?
我想知道如何在python中按下一个键
我试着做:
import msvcrt as keys
while True:
key = keys.getch()
if key == "a":
print("You have pressed a")
有谁知道如何修理它?