Python操作记录 1.写入中文出错,需要执行 reload(sys) sys.setdefaultencoding('utf8') 2.json.dump中文写入为xxxx ensure_ascii=False