技术栈

configparser

许野平
21 天前
开发语言·数据库·rust·ini·configparser
Rust:如何访问 *.ini 配置文件?在 Rust 中读写 INI 文件,推荐使用成熟的 configparser 或 ini 库。下面提供两种实现方案(基础和高阶),包含完整代码示例:
南部余额
5 个月前
开发语言·python·configparser
解决python配置文件类configparser.ConfigParser,插入、读取数据,自动转为小写的问题默认情况下,ConfigParser会将ini配置文件中的KEY,转为小写。官方文档:https://docs.python.org/zh-cn/3.6/library/configparser.html#configparser.ConfigParser.optionxform