Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #65291 > unrolled thread

Re: mapping objects

Started byCameron Simpson <cs@zip.com.au>
First post2014-02-03 09:40 +1100
Last post2014-02-03 09:40 +1100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: mapping objects Cameron Simpson <cs@zip.com.au> - 2014-02-03 09:40 +1100

#65291 — Re: mapping objects

FromCameron Simpson <cs@zip.com.au>
Date2014-02-03 09:40 +1100
SubjectRe: mapping objects
Message-ID<mailman.6312.1391382348.18130.python-list@python.org>
On 02Feb2014 07:41, Rita <rmorgan466@gmail.com> wrote:
> Thanks for the response Cameron. No amount of 'googling' could provide me
> with that caliber response :-)
> 
> So, it seems regardless I would need a database.

To use SQLA, yes.

The SQLite backend is a very cheap/easy way to start; local files,
no server needed etc.

In unit tests I use this DB URL: 'sqlite:///:memory:'. It makes an
in-memory database. Of course, it vanishes as soon the the program
exits, but for this purpose that's fine.

BTW, if you're parsing XML data specificly, look at BeautifulSoup
4 and XPath (search syntax; IIRC the XML objects you get from BS4
can use it to locate things).

Cheers,
-- 
Cameron Simpson <cs@zip.com.au>

The nice thing about standards is that you have so many to choose from;
furthermore, if you do not like any of them, you can just wait for next
year's model.   - Andrew S. Tanenbaum

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web