Course Content

Pickle Module | Python Tutorials For Absolute Beginners In Hindi #84

Code as described/written in the video

import pickle

# Pickling a python object
# cars = ["Audi", "BMW", "Maruti Suzuki", "Harryti Tuzuki"]
# file = "mycar.pkl"
# fileobj = open(file, 'wb')
# pickle.dump(cars, fileobj)
# fileobj.close()

file = "mycar.pkl"
fileobj = open(file, 'rb')
mycar = pickle.load(fileobj)

# pickle.loads = ?


sarang123 3 months ago
hi harry bhai my name is sarang and need some help about exercise, i can't solve the exercise please tell me how i can do it???


No downloadable resources for this video. If you think you need anything, please post it in the QnA!

Course Announcements

Any Course related announcements will be posted here