text representation of HTML

Ksenia Marasanova ksenia.marasanova at gmail.com
Wed Jul 19 06:09:20 EDT 2006


Hi,

I am looking for a library that will give me very simple text
representation of HTML.
For example
<div><h1>Title</h1><p>This is a <br />test</p></div>

will be transformed to:

Title

This is a
test


i want to send plain text alternative of html email, and would prefer
to do it automatically from HTML source.
Any hints?

Thanks!
Ksenia.



More information about the Python-list mailing list