wasm-demo/demo/ermis-f/python_m/cur/1113

29 lines
901 B
Plaintext

From: bhowes at cssun3.corp.mot.com (Brad Howes)
Date: 14 Apr 1999 10:02:32 -0700
Subject: simple indexed file module?
References: <joe-120419991008353558@chinacat.salk.edu>
Message-ID: <wjy3e23nniv.fsf@cssun3.corp.mot.com>
X-UID: 1113
>>>> '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