結果 : create or append to file python