[Baypiggies] pickle misbehavior

Simeon Franklin simeonf at gmail.com
Thu Dec 16 20:50:58 CET 2010


On Thu, Dec 16, 2010 at 11:38 AM, Vikram K <kpguy1975 at gmail.com> wrote:
> In B i am unpickling and these are the relevant lines:
> f = open ('totalpepfinalpickled.txt')
>
> x = pickle.load(f)
>
> A runs fine on execution. On running B, i got the following error:

Does this still happen if you open the pickle file in binary mode? Eg:

>>> f = open('totalpepfinalpickled.txt', 'b')

-regards
Simeon


More information about the Baypiggies mailing list