perl chomp equivalent in python?

Alex alex at somewhere.round.here
Thu Feb 10 11:40:30 EST 2000


> Thanks! 

No worries, although I realized later that they will break if the file
has a line longer than sizehint (never happened to me, yet, I hope) and
that all the methods can simply be placed in the one class.  I guess
publishing stuff forces you to think things through more clearly.

Alex.



More information about the Python-list mailing list