python 解压pkl文件的方法
时间:2020-12-26 12:53:54|栏目:Python代码|点击: 次
如下所示:
import pickle with open(filename, 'rb') as f: datadict = pickle.load(f, encoding='latin1') f.close()
如下所示:
import pickle with open(filename, 'rb') as f: datadict = pickle.load(f, encoding='latin1') f.close()