rimbaudmiller at yahoo.com
Sat Jul 16 18:53:16 CEST 2005
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 looks like:
import cPickle, shelve
print "Pickling lists."
print "\nUnpickling lists."
for i in pickle_file:
This is what I keep on getting:
Traceback (most recent call last):
File "/Users/davidjimenez/Documents/trypickle", line
20, in -toplevel-
Start your day with Yahoo! - make it your home page
More information about the Tutor