string -------> encode---->bytes-------->decode----->string
arg = "我爱北京"
print(arg.encode(encoding="utf-8"))
print(arg.encode(encoding="utf-8").decode(encoding="utf-8"))
string -------> encode---->bytes-------->decode----->string
arg = "我爱北京"
print(arg.encode(encoding="utf-8"))
print(arg.encode(encoding="utf-8").decode(encoding="utf-8"))