The file method read does not "see" CR

Peter J. Holzer hjp-python at hjp.at
Mon Dec 16 05:44:07 EST 2019


On 2019-12-10 10:15:45 +0000, Stephen Tucker wrote:
> I am running Python 2.7.10 on a Windows 10 machine.

Unless you have a really good reason to stick with Python 2.7, don't:
https://pythonclock.org/

The current version of Python is 3.8, and there have been quite a few
changes between 2.x and 3.x, especially in the treatment of byte and
character strings.

        hp

-- 
   _  | Peter J. Holzer    | Story must make more sense than reality.
|_|_) |                    |
| |   | hjp at hjp.at         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20191216/16be6ce9/attachment.sig>


More information about the Python-list mailing list