How to convert markup text to plain text in python?

Zentrader zentraders at gmail.com
Sat Feb 2 11:44:19 EST 2008


On Feb 1, 8:07 am, geoffbache <geoff.ba... at pobox.com> wrote:
> I have some marked up text and would like to convert it to plain text,

If this is just a quick and dirty problem, you can also use one of the
lynx/elinks/links2 browsers and dump the contents to a file.  On Linux
it would be
lynx -dump http://www.etc > text.txt
Lynx is also available for MS Windows, but am not sure about the other
two.



More information about the Python-list mailing list