結果 : how to exit python code with error