Python:Email and Header Parsing: Some Help

Josiah Carlson jcarlson at
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:

  - Josiah

More information about the Python-list mailing list