Pickle a file object

Stephen Ferg steve at ferg.org
Tue Dec 3 13:21:19 EST 2002


> can i read and store the contents of binary files?

You could read the entire contents of the file into a string, and then
pickle the string.



More information about the Python-list mailing list