发布时间:2019-07-06 10:45:21编辑:auto阅读(2465)
# 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算数运算
53285
40156
34535
30281
25189
24983
23387
16917
14981
14490
872°
800°
868°
874°
936°
1057°
1047°
1043°
1150°
1066°