一、pickle文件 1.写入 a = { 'mtx':mtx, 'dist':dist} with open('./cal_pickle.p','wb') as file: pickle.dump(a