Writing a Carriage Return in Unicode

sturlamolden sturlamolden at yahoo.no
Sat Nov 21 10:48:44 CET 2009

On 21 Nov, 09:12, Steven D'Aprano <st... at REMOVE-THIS-
cybersource.com.au> wrote:

> Oh please, that's historical revisionism -- \r\n wasn't invented by
> Microsoft. Microsoft didn't "get it right", they simply copied what CP/M
> did, on account of the original MS-DOS being essentially a clone of CP/M.

Actyually \r\n goes back to early mechanical typewriters with
typebars, such as the Hermes. The operator would hit CR to return the
paper carriage and LF to move down to the next line.

More information about the Python-list mailing list