結果 : python how to exit program on error