Recommended "new" way for config files

Ben Finney ben+python at benfinney.id.au
Fri Jan 8 17:54:30 EST 2010


Chris Rebert <clp2 at rebertia.com> writes:

> JSON is one option: http://docs.python.org/library/json.html

YAML <URL:http://en.wikipedia.org/wiki/YAML> is another contender.
Compared to JSON, it is yet to gain as much mind-share, but even more
human-friendly and no less expressive.

Here are some discussions of YAML that can help you evaluate it:

    <URL:http://www.ibm.com/developerworks/xml/library/x-matters23.html>
    <URL:http://www.codinghorror.com/blog/archives/001114.html>
    <URL:http://webignition.net/articles/xml-vs-yaml-vs-json-a-study-to-find-answers/>

-- 
 \     “The Things to do are: the things that need doing, that you see |
  `\     need to be done, and that no one else seems to see need to be |
_o__)                   done.” —Richard Buckminster Fuller, 1970-02-16 |
Ben Finney



More information about the Python-list mailing list