As people already said, don't use XML for persistence. Read it, parse it, and persist it in another format. databases are quite good for that. even sqlite3 will outperfom any few MB xml files.
On Mon, Jan 5, 2015 at 11:55 PM, Chris Angelico <ros...@gmail.com> wrote: > On Tue, Jan 6, 2015 at 11:49 AM, Dennis Lee Bieber > <wlfr...@ix.netcom.com> wrote: > >>So you would convert it to json so it can then be stored? > >> > > NO! > > > > JSON and XML, in my mind, are equivalents -- (human-readable) > notations > > for transferring data between applications. JSON may just have fewer > > "options" for how to notate basic data. > > JSON corresponds much more closely to Python data types, but > converting from one to the other can't improve matters any. > > ChrisA > -- > https://mail.python.org/mailman/listinfo/python-list > -- George R. C. Silva SIGMA Consultoria ---------------------------- http://www.consultoriasigma.com.br/
-- https://mail.python.org/mailman/listinfo/python-list