ever done for us?
~~
--- On Tue, 7/27/10, Mac Ryan wrote:
From: Mac Ryan
Subject: Re: [Tutor] xml question
To: tutor@python.org
Date: Tuesday, July 27, 2010, 11:46 AM
On Mon, 2010-07-26 at 12:09 -0700, Albert-Jan Roskam wro
Am 27.07.2010 02:29, schrieb Steven D'Aprano:
On Tue, 27 Jul 2010 05:09:09 am Albert-Jan Roskam 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 pa
On Mon, 2010-07-26 at 12:09 -0700, Albert-Jan Roskam 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 edi
I agree with Steven D'Aprano. Keep the code as simple as possible.
A simple text file with a variable/value pair on each line is very easy to
parse and store in a Dictionary object. You can use any convenient
delimiter; "=", ":", "$", ...
Nesting items under categories takes just a little mo
On Tue, 27 Jul 2010 05:09:09 am Albert-Jan Roskam 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 dat
"Albert-Jan Roskam" wrote
The file should contain information about: ... (4) manual data edits
+ datetime stamp + user name .
I'd like to store this config file in xml.
Sounds sensible to me.
... what would the elementtree look like? Should I just use 'config'
or
something similar as root
"Joel Goldstick" 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
On Mon, Jul 26, 2010 at 3:09 PM, Albert-Jan Roskam 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
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 con