Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is a good configuration file library for c thats not xml (preferably has python bindings)? [closed]

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 have come up with is to use a JSON library in both c and python. What would you recommend, or what method of reading/writing configuration settings do you prefer?

like image 688
user19745 Avatar asked Aug 04 '09 11:08

user19745


2 Answers

YaML :)

like image 188
sler Avatar answered Nov 09 '22 20:11

sler


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

like image 25
lhf Avatar answered Nov 09 '22 21:11

lhf