Flat file, Python accessible database?
Micah Elliott
mde at micah.elliott.name
Tue Nov 1 13:33:59 EST 2005
On Nov 01, Karlo Lozovina wrote:
> I've been Googling around for _small_, flat file (no server
> processes), SQL-like database which can be easily access from
> Python. Speed and perforamnce are of no issue, most important is
> that all data is contained within single file and no server binary
> has to run in order to use the dbase. Oh, and I'm using Python under
> Cygwin.
>
> Ofcourse, ease of use and simplicity is most welcomed :). I'm
> currently playing around SQLite+PySQLite and BerkeleyDB, but those
> two seem like an overkill :(.
Not sure about "SQL-like", but the conf/ini file type could be
considered a reasonable database format for simple needs, and is
easy to parse/write. The ConfigParser is documented here:
http://www.python.org/doc/current/lib/module-ConfigParser.html
And Fredrik Lundh's examples usage is here:
http://effbot.org/librarybook/configparser.htm
And the Initialization File format is described here:
http://en.wikipedia.org/wiki/INI_file
--
_ _ ___
|V|icah |- lliott http://micah.elliott.name mde at micah.elliott.name
" " """
More information about the Python-list
mailing list