Python:Email and Header Parsing: Some Help

Josiah Carlson jcarlson at nospam.uci.edu
Sun Feb 29 05:11:00 CET 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