python里对HTML进行解码

import html

txt=html.unescape('<li>日喀则')

打印出来:<li>日喀则

 

posted @ 2020-09-25 17:31  苦逼的猿人  阅读(1109)  评论(0编辑  收藏  举报