python input and output and cpickle
摘要:
文件的输出输入与数据的存储反存储: 存储模块:pickle 和cPickle (C语言编写,速度远远快于前者),用法与file.write()差不多,引用 example:import cPickle as pp.dump(data,file) #file='file.data'p.load(file)file.close() 一般有两种输出方法: expression statements和 ... 阅读全文
posted @ 2010-10-27 17:47 漩涡鸣人 阅读(546) 评论(0) 推荐(0)