Mariano Draghi wrote: > class PersistentDict(dict): > '''Persistent dictionary. > > It's a dictionary that saves and loads its data to a file. > ''' Sounds pretty similar to shelve (http://python.org/doc/lib/module-shelve.html) to me. Have you considered using it instead?