stripping cr/lf, lf, cr

deadmeat root at [127.0.0.1]
Tue Mar 27 10:34:03 EST 2001


Is there a platform independant function that will remove appropriate EOL
characters from a string?  I don't want to use strip() since it will also
remove other whitespace I want to keep.






More information about the Python-list mailing list