摘要: # 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 ... 阅读全文
posted @ 2019-10-17 12:25 lshan 阅读(547) 评论(0) 推荐(0) 编辑