ValueError: binary mode doesn‘t take an encoding argument

fp = open(filename, ‘wb’,encoding=‘utf-8’)

wb不能和encoding一起使用

猜你喜欢

转载自blog.csdn.net/TDLDDMZ/article/details/127985059