結果 : write a line to text file python