> For new data: an alternative is to open the file in binary mode for both > reading and writing on all platforms. This will also allow you to switch to > the more efficient binary pickle protocols. Writing and reading the pickled file in binary mode seems to be working. Thank you.