发布时间:2019-07-06 10:45:21编辑:auto阅读(1951)
# bytes object b = b"example" # str object s = "example" # str to bytes bytes(s, encoding = "utf8") # bytes to str str(b, encoding = "utf-8") # an alternative method # str to bytes str.encode(s) # bytes to str bytes.decode(b)
上一篇: Python 三十六计
下一篇: Python06算数运算
48868
47938
38714
35861
30287
27039
26072
20906
20706
19068
508°
602°
612°
614°
589°
575°
642°
715°
833°
934°