結果 : how to check exit code python