結果 : append a line to a file python