simple indexed file module?
Brad Howes
bhowes at cssun3.corp.mot.com
Wed Apr 14 13:02:32 EDT 1999
>>>> 'Joe Strout (joe at strout.net)' asked the following:
JS> For a CGI script I'm working on, I need to keep a couple of indexed
JS> files.[snip]
I have good luck with the `anydbm' module. This gives you keyed indexing
into a data file. It attempts to import dbhash, gdbm, dbm, or dumbdbm as
a backend. On my Windows/NT box, there is dbhash. I've used gdbm on
Unix. Not sure what comes with the Macintosh install.
Brad
--
Brad Howes bhowes at motorola.com
Principal Compass Hacker Work: +1 602 446 5219
Motorola Cell: +1 602 768 0735
More information about the Python-list
mailing list