結果 : append lines to text file python