Removing ^M

Michael Hall olc at ninti.com
Sat Jun 8 20:38:44 EDT 2002


I am trying remove ^M characters (some kind of newline character) from an
HTML file. I've tried all sorts of string.replace and sed possibilities
but the
things just won't go away. Does anyone have a way of removing such
characters?

TIA 

Mick







More information about the Python-list mailing list