哪有什么岁月静好,不过是有人替你负重前行!
摘要: a = '朋友' print(a) #结果为:朋友 b = bytes(a,'utf8') print(b) #结果为:b'\xe6\x9c\x8b\xe5\x8f\x8b' c = str(b,'utf8') print(c) #结果为:朋友 上面代码执行结果为: 朋友 b'\xe6\x9c\x8 阅读全文
posted @ 2021-10-11 16:54 longfei825 阅读(1414) 评论(0) 推荐(0)