python终止程序的执行

用quit()。

原文地址:https://www.cnblogs.com/yibeimingyue/p/9914400.html