On Sat, Sep 16, 2017 at 11:37 AM, Steve D'Aprano <steve+pyt...@pearwood.info> wrote: > On Sat, 16 Sep 2017 04:24 am, Chris Angelico wrote: > >> but switching your dict/list system to be >> disk-backed is a lot harder. > > import shelve > > :-) > > > > Now you have two problems :-) >
Yeah, like: How do you do a query (anything more complicated than direct lookup) without loading everything into memory? Though I had forgotten about shelve. It's not something I use often... actually I don't think I've ever used it more than "hello world". ChrisA -- https://mail.python.org/mailman/listinfo/python-list