結果 : write line to text file python