Python 转义html中以"&#"开头的字符

from HTMLParser import HTMLParser
print HTMLParser().unescape('中国')
posted @ 2018-01-16 14:29  右介  阅读(742)  评论(0)    收藏  举报