I need to store configurations (key/value) for a Python application and I am searching for the best way to store these configurations in a file.
I run into Python\'s
It depends on how the config file will be used.
One of the advantages of INI files is that they are really easy to read and understand. It's much easier to make a mistake in JSON or XML file if you edit config by hand. PHP still uses INI files.
However, if you your config is not meant to be edited by hand, go with any format you like, because INI is not the easiest one to parse.