python 如何保存字典变量
from sklearn.externals import joblib x = {} x['gynuyncvf'] = ["sdsdfsdfsdf",[1,2,3,4]] x['gyndsfdsuyncvf'] = ["sdsdfsdfsdf",[1,2,3,4]] # 保存x joblib.dump(x, 'x.pkl') # 加载x x = joblib.load('x.pkl')