Help: pickle module unable to load "rb" mode files in linux
Surya Kasturi
suryak at ieee.org
Tue Apr 2 10:54:25 EDT 2013
Hi, hope you can help me on it..
with open(pickle_f, 'r') as fhand:
obj = pickle.load(fhand)
This works on linux but not in windows until I use "rb" mode while
creating file object. Surprisingly, the "rb" mode is not working on Linux..
raising EOFError.
Why is this happening?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130402/b6ab3845/attachment.html>
More information about the Python-list
mailing list