Command Line Tools in Python
scribd.com
scribd.com
Original PDF:
http://code.noahgift.com/pycon2008/pycon2008_cli_noahgift.pd...
I find it much easier to use YAML (a superset of JSON) files for configuration, however, with the only draw back being tab sensitivity (which can be made easier to deal with by placing vim/emacs instructions as comments, e.g. "vim: ft=yaml ts=4 sw=4 et") . Additionally, there must be some equivalent of XML::Simple out there for Python.
Also read the "Relation to JSON" section of the 1.2 draft: http://yaml.org/spec/1.2/#id2560236
The only case I can think of is one where your configuration may be used by a non-Python application.