Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

save python dic

import pickledict = {'Python' : '.py', 'C++' : '.cpp', 'Java' : '.java'}f = open("file.pkl","wb")pickle.dump(dict,f)f.close()
Source by pythonspot.com #
 
PREVIOUS NEXT
Tagged: #save #python #dic
ADD COMMENT
Topic
Name
8+1 =