Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #83263
| References | <55e354fd-a5bc-4f1f-a59a-55951fe81ca3@googlegroups.com> <mailman.17395.1420466196.18130.python-list@python.org> <792cb61b-d351-4b4b-aa7b-35e959111c0a@googlegroups.com> <r3cmaap018mue2ujmdvfqi9ledj7jai2jo@4ax.com> <CAPTjJmoGTAaj7p7GGqjmeG-JzvwgJ=Pv0JfSYB9vqG0mX7qk3A@mail.gmail.com> |
|---|---|
| From | George Silva <georger.silva@gmail.com> |
| Date | 2015-01-06 00:24 -0200 |
| Subject | Re: If you were starting a project with XML datasource using python |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.17409.1420511119.18130.python-list@python.org> (permalink) |
[Multipart message — attachments visible in raw view] - view raw
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@gmail.com> wrote: > On Tue, Jan 6, 2015 at 11:49 AM, Dennis Lee Bieber > <wlfraed@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/
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
If you were starting a project with XML datasource using python flebber <flebber.crue@gmail.com> - 2015-01-05 03:54 -0800
Re: If you were starting a project with XML datasource using python Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-01-05 08:56 -0500
Re: If you were starting a project with XML datasource using python flebber <flebber.crue@gmail.com> - 2015-01-05 10:24 -0800
Re: If you were starting a project with XML datasource using python Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-01-05 19:49 -0500
Re: If you were starting a project with XML datasource using python Chris Angelico <rosuav@gmail.com> - 2015-01-06 12:55 +1100
Re: If you were starting a project with XML datasource using python George Silva <georger.silva@gmail.com> - 2015-01-06 00:24 -0200
Re: If you were starting a project with XML datasource using python Dan Stromberg <drsalists@gmail.com> - 2015-01-05 14:45 -0800
Re: If you were starting a project with XML datasource using python Steve Hayes <hayesstw@telkomsa.net> - 2015-01-06 05:59 +0200
csiph-web