f = open(shoplistfile, 'w')
变为
f = open(shoplistfile, 'wb')
TypeError: must be str, not bytes
最新推荐文章于 2024-07-10 20:54:13 发布
f = open(shoplistfile, 'w')
变为
f = open(shoplistfile, 'wb')