摘要: 1、安装pyyaml模块 2、读取yaml文件数据 import yaml f = open("data.yaml", "r", encoding="utf-8") data = yaml.load(f, Loader=yaml.FullLoader) print(data) 代码就这么几行,不用这 阅读全文
posted @ 2020-04-05 13:31 suanmiao 阅读(781) 评论(0) 推荐(0) 编辑