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 more code logic, if you
want to do that.
I have been doing this for many years. Simple is usually better.
----- Original Message -----
From: "Steven D'Aprano" <[email protected]>
Why XML?
Even though XML is plain text, it is *not* a human writable format,
except perhaps for the simplest data. XML is one of those things which
has become "the in-thing" and is used in all sorts of inappropriate
places just because "everybody else uses XML". Even *supporters* of XML
describe themselves as having "drunk the XML Kool-Aid".
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor