<p>Using the Python Documentation I found the <a href="http://docs.python.org/lib/module-HTMLParser.html" rel="noreferrer">HTML parser</a> but I have no idea which library to import to use it, how do I find this out (bearing in mind it doesn't say on the page).</p>

Try:
```
```
import HTMLParser
```
```
In Python 3.0, the HTMLParser module has been renamed to html.parser
you can check about this
here
Python 3.0
```
```
import html.parser
```
```
Python 2.2 and above
```
```
import HTMLParser
```
```