perl chomp equivalent in python?
Jeff Bauer
jbauer at rubic.com
Wed Feb 9 19:59:45 EST 2000
More information about the Python-list mailing list
Wed Feb 9 19:59:45 EST 2000
- Previous message (by thread): perl chomp equivalent in python?
- Next message (by thread): perl chomp equivalent in python?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Paul Prescod wrote: > What about string.strip and string.rstrip? Those methods are indiscriminate with chopping off whitespace when you want to preserve trailing tabs/spaces (e.g. tab-delimited files). Wait a sec ... didn't we already have a similar discussion last year when you proposed adding a second argument to the string.strip() family? Jeff Bauer Rubicon Research
- Previous message (by thread): perl chomp equivalent in python?
- Next message (by thread): perl chomp equivalent in python?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list