結果 : capture error in python