Python解析yaml配置文件

1.代碼測試

import yaml

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

print dict_tmp
相關文章
相關標籤/搜索