[Tutor] xml question

Joel Goldstick joel.goldstick at gmail.com
Mon Jul 26 22:21:13 CEST 2010


On Mon, Jul 26, 2010 at 3:09 PM, Albert-Jan Roskam <fomcl at yahoo.com> wrote:

> Hi,
>
> 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. However, I've never created something like this before.
> Is this a suitable format, and, if so, what would the elementtree look like?
> Should I just use 'config'  or something similar as root, and the
> information elements 1 through 3 as child elements? And should the manual
> edits be stored as an element 'edit' with various attributes (the edit
> itself, the time stamp, etc.)?
>
> Cheers!!
> Albert-Jan
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> All right, but apart from the sanitation, the medicine, education, wine,
> public order, irrigation, roads, a fresh water system, and public health,
> what have the Romans ever done for us?
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
>
I haven't used this, but I have heard others talk it up

http://docs.python.org/library/configparser.html
-- 
Joel Goldstick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100726/7c4aae28/attachment.html>


More information about the Tutor mailing list