x编码转换为汉字

python2
str1='xE4xB8x89xE7xBAxA7xE8x8Ax82xE7x82xB9' print unicode(str1,'utf-8')
python3
a =b"xe6x93x8dxe4xbdx9cxe6x88x90xe5x8ax9f"
print(a.decode())
原文地址:https://www.cnblogs.com/jiaoyang77/p/10429485.html