pickling or xml or other?
Bo
bs1984 at gmail.com
Mon Aug 21 00:40:05 EDT 2006
More information about the Python-list mailing list
Mon Aug 21 00:40:05 EDT 2006
- Previous message (by thread): pickling or xml or other?
- Next message (by thread): dictionary update
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
You could use a python file and use the builtin import facility to read in configurations. from http://dirtsimple.org/2004/12/python-is-not-java.html ... in Python, more often than not, code is easier to write than XML. And Python can process code much, much faster than your code can process XML. (Not only that, but you have to write the XML processing code, whereas Python itself is already written for you.) 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? > > -Cheers
- Previous message (by thread): pickling or xml or other?
- Next message (by thread): dictionary update
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list