import numpy as np np.save("filename.npy",a) b = np.load("filename.npy")
https://www.runoob.com/numpy/numpy-io.html
https://www.cnblogs.com/yibeimingyue/p/13858019.html