What is a good library of configuration files for c, not xml (preferably has python bindings)?

I am looking for a good config file library for c that is not xml. Optimally I would really like one that also has python bindings. The best option I came up with is to use the JSON library in both c and python. What would you recommend, or what method of reading / writing configuration settings do you prefer?

+5
source share
4 answers

YaML :)

+5
source

If you are not married to Python, try Lua . It was originally designed for configuration.

+1

python, ConfigObj, API CPython . , Python. , Python, . C.exe , , Python .

0

, Microsoft, INI , . , .

0

All Articles