Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pickle save

import pickle

pickle.dump( favorite_color, open( "save.p", "wb" ) )
favorite_color = pickle.load( open( "save.p", "rb" ) )
Source by wiki.python.org #
 
PREVIOUS NEXT
Tagged: #pickle #save
ADD COMMENT
Topic
Name
4+4 =