发布时间:2019-07-06 10:45:21编辑:auto阅读(2081)
# 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算数运算
50967
50346
40963
37830
32296
29188
28074
22902
22864
21197
1057°
1737°
1424°
1357°
1625°
1445°
2103°
3650°
3573°
2520°