Re: [Tutor] xml question

2010-07-26 Thread davidheiserca
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

Re: [Tutor] xml question

2010-07-26 Thread 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 parameters/estimation > methods (4) manual dat

Re: [Tutor] xml question

2010-07-26 Thread Alan Gauld
"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

Re: [Tutor] xml question

2010-07-26 Thread Alan Gauld
"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

Re: [Tutor] xml question

2010-07-26 Thread Joel Goldstick
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

[Tutor] xml question

2010-07-26 Thread Albert-Jan Roskam
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

Re: [Tutor] django help....

2010-07-26 Thread Huy Ton That
I highly recommend www.djangobook.com The continuity is very good, and along the side of the book are comment boxes with further insight from users. After getting to about chapter 4, you should be able to toggle between djangoproject.com's documentation and the rest of the djangobook for further

[Tutor] django help....

2010-07-26 Thread Dipo Elegbede
hi, I am doing reading on django what ook would you recommend for a beginner? I have been trying to work with the documentations but get stock in between and totally become lost. this continous break is giving me too much headache to move on and i am getting discouraged. Please recommend a