哪个更适合为Python程序,内置模块(ConfigParser)或独立项目(ConfigObj)创建设置文件?
python configparser configobj
哪个更适合为Python程序,内置模块(ConfigParser)或独立项目(ConfigObj)创建设置文件,还是使用YAML数据序列化格式?我听说ConfigObj比ConfigParser更容易使用,即使它不是内置库.我还读到PyYAML很容易使用,虽然YAML需要一些时间来使用.除了易于实现,这是创建设置/配置文件的最佳选择?
python settings yaml configuration-files configparser
configparser ×2
python ×2
configobj ×1
configuration-files ×1
settings ×1
yaml ×1