結果 : python write formatted output to file