my computer is allergic to pickles

Miki Tebeka miki.tebeka at gmail.com
Wed Mar 9 20:36:42 EST 2011


> >From looking at the shelve info in the library reference, I get
> the impression it's tricky to change the values in the dict for
> existing keys and be sure they get changed on disk.
You can use writeback=True or call sync at the right places.


> How can you convert a tuple of strings to a string and back in a
> reliable deterministic way? The original strings may have ' " ,
> in them.
You can use marshal, json or any other serializing library.



More information about the Python-list mailing list