Python Save Data To File

Methods to save data

save data load data
np.save() np.load()
np.savetxt() np.loadtxt()
np.savez() np.load()
aNumpyArray.tofile() np.fromfile()
import pickle

reference:

Numpy文件存取 - CSDN博客
http://blog.csdn.net/sherrylml/article/details/51494052
Python存储和读取数据 - CSDN博客
http://blog.csdn.net/cfyzcc/article/details/51804466
将Python中的数据存储到系统本地的简单方法python脚本之家
http://www.jb51.net/article/63905.htm
Python零基础入门之十二数据永久存储 - CSDN博客
http://blog.csdn.net/BeMoreQuiet/article/details/54427962

你可能感兴趣的:(python,python)