perl chomp equivalent in python?

Paul Prescod paul at
Wed Feb 9 18:09:52 EST 2000

What about string.strip and string.rstrip?
 Paul Prescod  - ISOGEN Consulting Engineer speaking for himself
"The calculus and the rich body of mathematical analysis to which it
gave rise made modern science possible, but it was the algorithm that
made possible the modern world." 
        - from "Advent of the Algorithm" David Berlinski

More information about the Python-list mailing list