Removing ^M

Michael Hall olc at ninti.com
Sun Jun 9 02:38:44 CEST 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