A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/107056.html below:

BUG? Re: stripping cr/lf, lf, cr

BUG? Re: stripping cr/lf, lf, crBob 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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4