結果 : python write text to file line by line