import cPicklef = open("pickled.dat", "r")p = cPickle.Unpickler(f)data = p.load()print datadata = p.load()print dataf.close()