perl chomp equivalent in python?

Paul Prescod paul at prescod.net
Thu Feb 10 00:09:52 CET 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
	http://www.opengroup.com/mabooks/015/0151003386.shtml




More information about the Python-list mailing list