結果 : append line to file python