placid wrote:

> Hi all,
> 
> I have an application were i want the user to "configure" some settings
> which are variables within different classes.
> 
> My question is should i just pickle out these variables to a file in
> some particular order then read it back. Or use xml to save the config
> values ? Which one scales better if settings increase?
> 
> Other sugestions?

ConfigParser. And "scaling" of something that by definition is supposed to
be written by humans isn't a matter here. What matters is that a
config-file can be edited on the commandline using vi (or the editor of
your choice) - a pickle can't. So I'd certainly advise against the
pickling.

Diez
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to