How can I use Python to replace HTML escape characters?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/2087370/decode-html-entities-in-python-string">Decode HTML entities in Python string?</a>  </p>
</blockquote>



<p>I have a string full of HTML escape characters such as <code>&amp;quot;</code>, <code>&amp;rdquo;</code>, and <code>&amp;mdash;</code>.</p>

<p>Do any Python libraries offer reliable ways for me to replace all of these escape characters with their respective actual characters?</p>

<p>For instance, I want all <code>&amp;quot;</code>s replaced with "s.</p>
