Answers for "how to read some pickle file in python"

8

read pickle file

with open('filename', 'rb') as f:
    x = pickle.load(f)
Posted by: Guest on August-26-2020
3

pickle dump

import pickle
with open('Fruits.obj', 'wb') as fp:
	pickle.dump(banana, fp)
Posted by: Guest on January-13-2021

Python Answers by Framework

Browse Popular Code Answers by Language