If you were starting a project with XML datasource using python

George Silva georger.silva at gmail.com
Tue Jan 6 03:24:31 CET 2015


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 <rosuav at gmail.com> wrote:

> On Tue, Jan 6, 2015 at 11:49 AM, Dennis Lee Bieber
> <wlfraed at 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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20150106/66470003/attachment.html>


More information about the Python-list mailing list