发布时间:2019-07-06 10:45:21编辑:auto阅读(2496)
# 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算数运算
53532
40353
34757
30516
25394
25183
23597
18876
15175
14688
1151°
1075°
1145°
1165°
1200°
1353°
1313°
1286°
1384°
1327°