Python解析yaml配置文件

1.代码测试

import yaml

fd = open('fileName.yaml', 'r')
dict_tmp = yaml.load(fd)
fd.close()

print dict_tmp
相关文章
相关标签/搜索