結果 : python write all errors to file