Linux terminals vs Windows consoles - was Re: python 2.7.12 on Linux behaving differently than on Windows

Gregory Ewing greg.ewing at
Thu Dec 8 16:38:29 EST 2016

Michael Torrie wrote:
> Interesting.  I wouldn't have thought ENTER would return a line feed.

Possibly you have the terminal in "cbreak" mode, which
provides a character at a time but still does things
like translate CR->LF.


More information about the Python-list mailing list