[Tutor] Editing html using python

Kent Johnson kent37 at tds.net
Mon Feb 15 14:05:19 CET 2010


On Mon, Feb 15, 2010 at 7:28 AM, Amit Sethi <amit.pureenergy at gmail.com> 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

> Their were tags that I wanted to replace using
> beautifulSoup
> however i saw that the replacewith function was not available for many of
> the tags I
> wanted to replace . Also BeautifulSoup does not have unicode support .

??
http://www.crummy.com/software/BeautifulSoup/documentation.html#Beautiful%20Soup%20Gives%20You%20Unicode,%20Dammit

Kent


More information about the Tutor mailing list