I have a question for the Python hackers in the audience: what file format(s) do you use for configuration files? I've been using INI style files up until now, but I've been thinking of switching to XML for more complicated formats. For example, what about something like the following example. What format would you use to store this type of configuration data for a Python application?
<?xml version="1.0" encoding="utf-8" ?>
<directoriesToBackUp>
<directoryInfo>
<directoryName>/media/programming</directoryName>
<excludedDirs>
<dir>/media/programming/log_files</dir>
<dir>/media/programming/temp_files</dir>
</excludedDirs>
</directoryInfo>
<directoryInfo>
<directoryName>/media/documents</directoryName>
<excludedDirs>
<dir>/media/documents/archive</dir>
</excludedDirs>
</directoryInfo>
</directoriesToBackUp>