📅  最后修改于: 2022-03-11 14:46:52.949000             🧑  作者: Mango
# Don't use os.system("pause"), it is very slow because it needs to create
# an entire shell process. Use this instead:
import getch
def pause():
print("Press any key to continue . . . ")
getch.getch()