摘要: 1.安装:pip install pyyaml 2.使用: yaml.safe_dump(dict_data, fss, indent=2, sort_keys=False, allow_unicode=True) yaml.safe_load(open(file, 'r', encoding="u 阅读全文
posted @ 2024-06-27 11:36 lingwang3 阅读(1) 评论(0) 推荐(0) 编辑