python pickle

technical talkiess
0

 Pickle in python :- 


import pickle


# pickling this object

# cars = ['audi','test','bana','tata','kaka']

# file ="myPick.pkl"

# fileOb = open(file,'wb')

# pickle.dump(cars,fileOb)

# fileOb.close()


file ="myPick.pkl"

fileob = open(file,'rb')

data = pickle.load(fileob)


print()
Tags

Post a Comment

0Comments

Thanks you for commenting your questions. I will see question and respond you.

Post a Comment (0)