file.getvalue() with _ or other characters

Peter Otten __peter__ at web.de
Thu Mar 3 17:33:28 CET 2005


martijn at gamecreators.nl wrote:

> I do this to get a htmlTOtext file

[...]

> But then the _ characters are away.
> is it possible to keep that character in file.getvalue()

Just to make sure: you did look into the HTML file and verified that there
are actually underscores and not spaces that are _rendered_ similar to "_"
via <u>some text</u> or CSS?

Peter





More information about the Python-list mailing list