Re: [Tutor] cPickle.load()

2005-07-18 Thread Danny Yoo
On Mon, 18 Jul 2005, David Jimenez wrote: > I am trying to learn to use Python. Currently, I am > reading Michael Dawson's "Python Programming for the > Absolute Beginner." Right now, I am having the > following problem: I try to read all the pickles in a > file, but keep on getting the same er

[Tutor] cPickle.load()

2005-07-18 Thread David Jimenez
hello everybody, I am trying to learn to use Python. Currently, I am reading Michael Dawson's "Python Programming for the Absolute Beginner." Right now, I am having the following problem: I try to read all the pickles in a file, but keep on getting the same error: EOFError. This is what the code

Re: [Tutor] cPickle.load()

2005-07-16 Thread Terry Carroll
On Sat, 16 Jul 2005, David Jimenez wrote: > [EOFError on pickle] First, something that may not be a problem, but let's get it out of the way, anyway: > pickle_file=open("pickles1.dat","w") >. . . > pickle_file=open("pickles1.dat","rb") I notice that your write open does not specify binary

[Tutor] cPickle.load()

2005-07-16 Thread David Jimenez
hello everybody, I am trying to learn to use Python. Currently, I am reading Michael Dawson's "Python Programming for the Absolute Beginner." Right now, I am having the following problem: I try to read all the pickles in a file, but keep on getting the same error: EOFError. This is what the code