Flat file, Python accessible database?

Karlo Lozovina _karlo_ at _mosor.net_
Tue Nov 1 16:02:20 EST 2005


bkhl at stp.lingfil.uu.se (=?utf-8?Q?Bj=C3=B6rn_Lindstr=C3=B6m?=) wrote in 
news:877jbsxnrx.fsf at lucien.dreaming:

> If you need it to be SQL-like, SQLite seems to be the right thing.

Tried that one, but had some problems setting things up. On the other 
hand, BerkeleyDB + Pybsddb worked like a charm, with no setting up (under 
Cygwin).

The problem is, Pybsddb is as badly documented as Windows Registry, no 
examples, no tutorials, no nothing :(. Does anyone have some small 
(possibly documented) Python program which does some basic database 
routines - select, insert, and such?

> It's not clear to me what you mean by "flat" file here, but if you mean
> it should be human readable, maybe the csv module is the thing.
> http://docs.python.org/lib/module-csv.html

Well, no, that's not it, but anyway thnx for the link, I need to parse a 
lot of CSV files, so this will speed me up :).

-- 
 _______                                        Karlo Lozovina - Mosor
|   |   |.-----.-----.     web: http://www.mosor.net || ICQ#: 10667163
|       ||  _  |  _  |             Parce mihi domine quia Dalmata sum.
|__|_|__||_____|_____|



More information about the Python-list mailing list