框架综合实践(1)-driver的封装(capability)

读取yaml配置文件: 有两种方式,一个是file open,一个是with open 方式1 file = open('../config/WiFibanlv_caps.yaml', 'r') data = yaml.load(file) file.close() #必须使用close,否则文件会出现占用情况 方式2: with open('../config/WiFibanlv_caps.
相关文章
相关标签/搜索