Fix Python – Extracting text from HTML file using Python

I’d like to extract the text from an HTML file using Python. I want essentially the same output I would get if I copied the text from a browser and pasted it into notepad.
I’d like something more robust than using regular expressions that may fail on poorly formed HTML. I’ve seen many people recommend Beautiful Soup, but I’ve had a few problem….