import PrintHelper
PrintHelper.PrintTitle('Pickling,酸洗,混合大对象整体处理')
PrintHelper.PrintHint('pickle模块')
PrintHelper.PrintHint('pickle.dump(@value,@fileHandler)')
print('from pickle import dump')
print('cheeseshop = [ (\"Roquefort\", 12, 15.23), (\"White Stilton\", 25, 19.02), (\"Cheddar\", 5, 0.67) ]')
print('fp = open( \"pc_cheese.pck\", \"wb\" )')
print('dump( cheeseshop, fp )')
print('fp.close()')
PrintHelper.PrintHint('buffer=pickle.load(@fileHandler)')
print('from pickle import load')
print('fp = open( \"pc_cheese.pck\", \"rb\" )')
print('buffer = load( fp )')
print('fp.close()')
