Please help with MemoryError

Aahz aahz at
Fri Feb 12 05:58:02 CET 2010

In article <mailman.2418.1265942230.28905.python-list at>,
Tim Chase  <python.list at> wrote:
>Just to add to the mix, I'd put the "anydbm" module on the gradient
>between "using a file" and "using sqlite".  It's a nice intermediate
>step between rolling your own file formats for data on disk, and having
>to write SQL since access is entirely like you'd do with a regular
>Python dictionary.

Not quite.  One critical difference between dbm and dicts is the need to
remember to "save" changes by setting the key's valud again.
Aahz (aahz at           <*>

"At Resolver we've found it useful to short-circuit any doubt and just        
refer to comments in code as 'lies'. :-)"

More information about the Python-list mailing list