結果 : python code to append to a file