Database-like module in Python?
Erno Kuusela
erno-news at erno.iki.fi
Fri Jan 26 14:38:26 EST 2001
In article <mailman.980510762.2783.python-list at python.org>, Def P
<def-p at usa.net> writes:
| Hi, I started working on a program for storing and retrieving
| miscellaneous bits of information. I don't really want to use a
| "real" database like Oracle though; I would prefer something
| Pythonic. In fact, a dictionary would do, if not for memory
| problems; having all the information in memory at the same time is
| not an option, because the collection of data might grow quite
| large. (Speed is not so important.)
i suggest looking at the shelve module; it combines dbm + pickle.
-- erno
More information about the Python-list
mailing list