結果 : append line to a file python