📌  相关文章
📜  python pickle 保存和加载多个变量 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:48.605000             🧑  作者: Mango

代码示例1
import pickle

a = 3; b = [11,223,435];
pickle.dump([a,b], open("trial.p", "wb"))

c,d = pickle.load(open("trial.p","rb"))

print(c,d) ## To verify