简体   繁体   中英

Use Python's ConfigParser to automatically remove options

当同时使用ConfigParser解析多个配置文件时,是否可以从第一个文件中删除一个选项,然后再删除第二个文件中的一个选项,而不仅仅是更改其值?

充其量,我认为您可以更改选项值以将其设置为空。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM