#To unpickle the object again, if f is a file object which has been opened for #reading: f = open('/tmp/workfile', 'r+') x = pickle.load(f) f.close()