cPickle usage

import cPickle
f=open("f.txt","w")
cPickle.dump("aa",f)
f.close()

f=open("f.txt",'r')
o=cPickle.load(f)
f.close
print o

你可能感兴趣的:(F#)