Newby: how to transform text into lines of text

Tim Rowe digitig at gmail.com
Mon Jan 26 06:23:18 EST 2009


2009/1/25 Tim Chase <python.list at tim.thechases.com>:

> (again, a malformed text-file with no terminal '\n' may cause it
> to be absent from the last line)

Ahem. That may be "malformed" for some specific file specification,
but it is only "malformed" in general if you are using an operating
system that treats '\n' as a terminator (eg, Linux) rather than as a
separator (eg, MS DOS/Windows).

Perhaps what you don't /really/ want to be reminded of is the
existence of operating systems other than your preffered one?

-- 
Tim Rowe



More information about the Python-list mailing list