(python3) TypeError: expected bytes-like object, not str

后端 未结 0 1872
小鲜肉
小鲜肉 2021-02-15 13:40
print(data.decode("utf-8")) 

encoded = data.decode("utf-8")

with open("C:\\image\\decoded.jpg", "wb") as new_file: 
    new_fil         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题