Unpickling Objects from a File : CPickle : Database PYTHON TUTORIALS


PYTHON TUTORIALS » Database » CPickle »

 

Unpickling Objects from a File


import cPickle

f = open("pickled.dat""r")

p = cPickle.Unpickler(f)

data = p.load()
print data

data = p.load()
print data

f.close()



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Database
» CPickle