[Tutor] Editing html using python

Stefan Behnel stefan_ml at behnel.de
Mon Feb 15 14:32:44 CET 2010

Kent Johnson, 15.02.2010 14:05:
> On Mon, Feb 15, 2010 at 7:28 AM, Amit Sethi wrote:
>> Well ya I was kind of hoping to know about more tools and recommendations on
>> how to edit broken html .
> This page lists several alternatives: html5, lxml, elementtree:
> http://www.crummy.com/software/BeautifulSoup/3.1-problems.html

Except that elementtree isn't an alternative as it can't parse HTML. The
ElementSoup module uses the BS parser to create an ElementTree, not the
other way round. That's reported incorrectly on that page.


More information about the Tutor mailing list