class CaseSConfigParser(ConfigParser):
# 重写optionxform解决options大小写不敏感
"""
To solve case problem when using the function options()
"""
def __init__(self, ):
ConfigParser.__init__(self, defaults=None)
def optionxform(self, optionstr):
return optionstr
def co
python读写配置文件
最新推荐文章于 2024-02-27 18:30:00 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)