[Tutor] xml question

Alan Gauld alan.gauld at btinternet.com
Tue Jul 27 01:32:55 CEST 2010


"Joel Goldstick" <joel.goldstick at gmail.com> wrote

>> I am making a data processing program that will use a configuration 
>> file.
>> The file should contain information about: (1) source files used, 
>> (2)
>> (intermediate) output files, (3) used parameters/estimation methods 
>> (4)
>> manual data edits + datetime stamp + user name . I'd like to store 
>> this
>> config file in xml.

> I haven't used this, but I have heard others talk it up
>
> http://docs.python.org/library/configparser.html

Config parser is great for simple name/value pairs but for more 
complex
data XML is better. It sounds to me that this probably deserves an XML 
file...

-- 
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/




More information about the Tutor mailing list