Python常见坑(持续更新)

1._pickle.dump 是用来把数据转换成二进制流然后存储的,所以在open的时候,应该使用wb模式来输入,使用w的话,会报错

“TypeError: write() argument must be str, not bytes”

猜你喜欢

转载自blog.csdn.net/shr903988854/article/details/87879516