【发布时间】:2018-08-10 11:09:46
【问题描述】:
如何使用 libconfig 更新配置文件? 我想更新而不删除文件的其他内容
https://pypi.python.org/pypi/libconf
例如
RTL_test: {
My_model : {
tests = ["test1","test2","test3","test4"];
ignore = ["test2"];
};
};
cfg['RTL_test']['My_model']['ignore']=''
【问题讨论】:
标签: python python-3.x libconfig