Plus simple:

>>> s = '<p>paragraphe</p>'
>>> import html
>>> html.unescape(s)
'<p>paragraphe</p>'
>>>

- W