chomp equivalents

Xeno Campanoli xeno at eskimo.com
Mon Feb 18 14:14:56 EST 2002


Xeno Campanoli (xeno at eskimo.com) wrote:
: Is there a chomp equivalent in the "string" object?  rstrip doesn't seem to
: take off the newline.

: Also, I looked up chomp on the Python website search engine, and it said there
: is a chomp.  Am I reading this wrong?  I don't show any chomp procedure in my
: python environment.

Okay, rstip works fine.  I was braindead.  My apologies.



More information about the Python-list mailing list