python2版本
from HTMLParser import HTMLParser
print HTMLParser().unescape('中国')
python3
from html.parser import HTMLParser
HTMLParser().unescape('中国')
python2版本
from HTMLParser import HTMLParser
print HTMLParser().unescape('中国')
python3
from html.parser import HTMLParser
HTMLParser().unescape('中国')