16 Jul
2004
16 Jul
'04
8:59 a.m.
Ian Beatty wrote:
However, I don't know how to do this. Is it as simple as using a PersistentMapping where I'd normally use a standard Python dictionary?
Well, yes.
Or shall I wrap each one in a custom class that subclasses Persistent?
That is usually an even better idea. And for big dictionaries, you may want to use the BTree objects for storage.