One for all,all for one.
2013年12月3日 星期二
Python unescape HTML entities
import
HTMLParser
h
=
HTMLParser
.
HTMLParser
()
print
h
.
unescape
(
'£682m'
)
£
682m
Reference :
Decode HTML entities in Python string? - Stack Overflow
沒有留言:
張貼留言
‹
›
首頁
查看網路版
沒有留言:
張貼留言