結果 : how to get exit code in python