str.encode(‘utf-8’) str 转换为bytes
bytes.decode(‘utf-8’) bytes转换为str
python str与bytes转换
猜你喜欢
转载自blog.csdn.net/weixin_44311188/article/details/85343972
今日推荐
周排行