रिक्त स्थान को भरें।
Fill in the blank.
import pickle
f=open(“data.dat”,"rb")
d=_____________.load(f)
f.close()
A)
B)
C)
D)
Explanation:
The correct function to read a serialized object from a file using the pickle
module is pickle.load()
.
Explanation:
pickle.load(f)
: This is used to load the data that was serialized and stored in a file (in this case,data.dat
).
Answer:
(C) pickle