问题是abide.description返回字节而不是字符串。如果你希望它作为普通字符串打印,你可以使用该bytes.decode()方法将字节转换为unicode字符串。例如:content_bytes = b'this is a byte string\nand it will not be wrapped\nunless it is first decoded'print(content_bytes)# b'this is a byte string\nand it will not be wrapped\nunless it is first decoded'print(content_bytes.decode())# this is a byte string# and it will not be wrapped# unless it is first decoded