What's the official way of storing settings for python programs?

后端 未结 13 1219
傲寒
傲寒 2020-12-12 23:58

Django uses real Python files for settings, Trac uses a .ini file, and some other pieces of software uses XML files to hold this information.

Are one of these approa

相关标签:
13条回答
  • 2020-12-13 00:32

    It is more of convenience. There is no official way per say. But using XML files would make sense as they can be manipulated by various other applications/libraries.

    0 讨论(0)
提交回复
热议问题