发布时间:2019-07-06 10:45:21编辑:auto阅读(2250)
# 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算数运算
51931
51705
42021
38860
33347
30317
28958
23971
23887
22252
384°
2590°
3261°
2715°
2702°
3440°
2658°
3500°
5771°
5545°