python中dump与dumps的区别 刚写了一个代吗,没有搞懂dump和dumps的区别,现在搞懂了,下班后在来整理import pickleq = [1,2,3,4]pickle.dump(q,open("cb1.txt","wb"))q2 = pickle.load(open('cb1.txt',"rb"))print(q2) Published by 风君子 独自遨游何稽首 揭天掀地慰生平 View all posts by 风君子