编辑器
import codecs data = "Emil" b = codecs.encode(data, "utf-8") print(b) print(codecs.decode(b, "utf-8"))
b'Emil'
Emil