Pros and cons for different configuration formats?

后端 未结 4 1689
梦如初夏
梦如初夏 2021-02-02 06:37

I\'ve seen people using *.cfg (Python Buildout), *.xml (Gnome), *.json (Chrome extension), *.yaml (Google App Engine), *.ini and even *.py for app configuration files (like Djan

4条回答
  •  北荒
    北荒 (楼主)
    2021-02-02 07:00

    According to Python official docs, 'future enhancements to configuration functionality will be added to dictConfig()'.

    So any config file which can be used with dictconfig() should be fine.

提交回复
热议问题