Some Python 2.1 ideas

D-Man dsh8290 at
Tue Dec 26 18:24:20 EST 2000

On Mon, Dec 25, 2000 at 12:12:41PM -0700, Bjorn Pettersen wrote:
> I think this is a good idea by itself and should be implemented for all of
> strip, lstrip, and rstrip, however it doesn't solve the problem we want to
> solve with chomp (removing a line terminator, whatever the line terminator
> happens to be).

Java has a solution to this:

import sys

> -- bjorn


More information about the Python-list mailing list