Hi, greg wrote:
Mark wrote:Thanks guys. This is for serializing to disk. I was hoping to not have to use too many intermediate stepsYou should be able to use a gzip.GzipFile or bz2.BZ2File and pickle straight into it.
also:
import codecs
out=codecs.open("picklefile.bz2",mode="wb",encoding="bz2")
pickle.dump(obj,out,pickle.pickle.HIGHEST_PROTOCOL)
out.close()
should work (and has far less code :-)
Regards
Tino
smime.p7s
Description: S/MIME Cryptographic Signature
-- http://mail.python.org/mailman/listinfo/python-list
