chomp equivalents

Emile van Sebille emile at
Sun Feb 17 20:30:12 CET 2002

"Xeno Campanoli" <xeno at> wrote in message
news:a4p08q$2bi$1 at
> Is there a chomp equivalent in the "string" object?  rstrip doesn't
seem to
> take off the newline.

This is being asked more and more frequently.  Follow past discussions


Emile van Sebille
emile at


More information about the Python-list mailing list