Irregular last line in a text file, was Re: Regular expressions
Grant Edwards
invalid at invalid.invalid
Tue Nov 3 17:15:58 EST 2015
On 2015-11-03, Tim Chase <python.list at tim.thechases.com> wrote:
[re. iterating over lines in a file]
> I can't think of more than 1-2 times in my last 10+ years of
> Pythoning that I've actually had potential use for the newlines,
If you can think of 1-2 times when you've been interating over the
lines in a file and wanted to see the EOL markers, then that's 1-2
times more than I've ever wanted to see them since I started using
Python 16 years ago...
--
Grant Edwards grant.b.edwards Yow! ! Up ahead! It's a
at DONUT HUT!!
gmail.com
More information about the Python-list
mailing list