Martin v. Löwis wrote:

> >> I'm working on a script to download and parse a web page, and it
> >> includes xml symbol notation, such as ' for the ' character.  Does
> >
> > Try the htmlentitydefs module.
>
> That won't help: this is a character reference, not an entity reference.
> htmlentitydefs only contains the definitions of entities.

Ouch! Sorry.

--
Gabriel Genellina

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to