python之读取配置文件yml格式
import yaml records_info = yaml.load(open(record_conf, encoding='utf8').read(), yaml.FullLoader)
# 配置文件格式如下 - name: "xxx" comment: "xxx" prefix: 2x00/0 keep_type: day keep_value: 30
-----------------------------------------------------------------------------------------------------------------------------------------