Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pickle python

import pickle

a = {'hi': 'everybody'}

with open('filename.pickle', 'wb') as f:
    pickle.dump(a, f, protocol=pickle.HIGHEST_PROTOCOL)

with open('filename.pickle', 'rb') as f:
    b = pickle.load(f)
 
PREVIOUS NEXT
Tagged: #pickle #python
ADD COMMENT
Topic
Name
8+6 =