3 ms·
Thanks for the thought. I wanted to use something like YAML but I didn't want to introduce an unnecessary dependency. Upon further review, I probably could ha
by mattspitz 14y ago
Thanks for the thought. I wanted to use something like YAML but I didn't want to introduce an unnecessary dependency.
Upon further review, I probably could have used a vanilla .ini file and ConfigParser (http://docs.python.org/2/library/configparser.html http://docs.python.org/2/library/configparser.html) It's a built-in module and .ini supports comments.
- notaddicted 14y ago(not OP) I personally like using regular python for python project config files (like django does.) If you want to keep it simple, it will be simple, if you want to do something fancy you have the whole language.