s = "https://www.codersrc.com/" #将字符串转换为字节对象b2 = bytes(s,encoding='utf8') #必须制定编码格式# print(b2) #方法一:字符串encode将获得 ...
確定! 回上一頁