似乎python支持许多不同的命令来停止脚本执行.我发现的选择是: quit(),exit(),sys.exit(),os._exit()
quit()
exit()
sys.exit()
os._exit()
我错过了吗?他们之间有什么区别?你什么时候用?
python
python ×1