結果 : create and append to file python