In <[EMAIL PROTECTED]>, Thomas Ploch
wrote:

> d = {
>       'url1': {
>               'emails': ['a', 'b', 'c',...],
>               'matches': ['d', 'e', 'f',...]
>       },
>       'url2': {...
> }
> 
> This dictionary will get _very_ big, so I want to write it somehow to a
> file after it has grown to a certain size.
> 
> How would I achieve that?

If you want easy access to single 'url' keys then `shelve` might be an
alternative to pickling the whole thing as one big object.

Ciao,
        Marc 'BlackJack' Rintsch
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to