Pickle

Python provides a standard module called pickle using which you can store any plain Python object in a file and then get it back later. This is called storing the object persistently.

Program on pickle
import pickle

items=['apple','orange','promogranite','grapes','banana']
f=open("prasad.dat","wb")
pickle.dump(items,f)
f.close()
del items
print("serialized...")

f=open("prasad.dat","rb")
items=pickle.load(f)
print(items)

print("De serialized....")

For
More Explanation
&
Online Classes

Contact Us:
+919885348743