发布时间:2019-07-06 10:45:21编辑:auto阅读(2082)
# 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算数运算
50990
50374
40988
37856
32321
29213
28095
22925
22892
21221
1087°
1775°
1448°
1384°
1660°
1469°
2127°
3683°
3621°
2542°