发布时间:2019-07-06 10:45:21编辑:auto阅读(2462)
# 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算数运算
53253
40133
34511
30252
25162
24952
23352
16879
14956
14466
842°
768°
840°
847°
897°
1024°
1012°
1011°
1119°
1032°