結果 : append a string to a file python