Python:Email and Header Parsing: Some Help

Josiah Carlson jcarlson at nospam.uci.edu
Sat Feb 28 23:11:00 EST 2004


> HTMLGen won't work, as that generates HTML (hence the name...). To
> strip out the HTML tags, probably a regular expression would be
> sufficient. Otherwise, have a look at HTMLParser (in the standard library).

To strip out html, use sgml:
http://flangy.com/dev/python/striphtml.html

  - Josiah



More information about the Python-list mailing list