結果 : python write errors to file