📜  python 跳过输入 - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:04.836000             🧑  作者: Mango

代码示例1
# get the character of a key pressed (no return key needed)
# works only in the command window and with Windows OS
from msvcrt import getch

print "press a char key (escape key to exit)"

while True: …