BUG? Re: stripping cr/lf, lf, cr
Bob Kline
bkline at rksystems.com
Tue Apr 3 17:30:49 EDT 2001
On 3 Apr 2001, David Bolen wrote:
> Which is literally correct for that platform. Note however, that
> depending on how you open a file, library routines (typically the C
> RTL on the platform, not even Python itself) may translate this
> physical EOL indicator into a single NL internally. That's the
> difference between a text open and a binary open under Windows for
> example.
That's one of the differences. The other is that ASCII 26 (Control-Z)
is treated as EOF on Windows.
--
Bob Kline
mailto:bkline at rksystems.com
http://www.rksystems.com
More information about the Python-list
mailing list