結果 : python write line to output file