Oliver Andrich wrote:
> def remove_html_entities(data):
>   for html, char in html2text:
>     data = apply(string.replace, [data, html, char])
>   return data

I know this isn't your question, but why write:

 >     data = apply(string.replace, [data, html, char])

when you could write

     data = data.replace(html, char)

??

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

Reply via email to