python3:TypeError: can't concat str to bytes

 

 

在str后面加encode(),将str转换成字节型

 

posted @ 2022-01-30 10:32  ATKevin  阅读(473)  评论(0编辑  收藏  举报