[Tutor] HTML --> TXT?

Justin Sheehy dworkin@ccs.neu.edu
29 Mar 2000 11:47:10 -0500


"Curtis Larsen" <curtis.larsen@Covance.Com> writes:

> Is there a fairly simple Python-ish way to convert an HTML file to text?

Check out the htmllib and formatter modules.  The HTMLParser and
DumbWriter classes in those respective modules should do what you need.

-Justin