#1.等待输入防止
usrInput = input('输入任意字符退出')
if usrInput != '':
exit()
#2.死循环
while True: pass
python运行文件防止一闪而过
最新推荐文章于 2021-11-16 18:15:11 发布
#1.等待输入防止
usrInput = input('输入任意字符退出')
if usrInput != '':
exit()
#2.死循环
while True: pass