結果 : how to write dict to file python