[issue13119] Newline for print() is \n on Windows, and not \r\n as expected

M. Zilmer report at bugs.python.org
Fri Oct 7 06:47:57 CEST 2011


M. Zilmer <mzdkmail at gmail.com> added the comment:

Hi Amaury,

The two text files were obtained through redirection in Windows, so I simply ran the newline.py file with:

    ...> C:\Python31\python.exe newline.py > newline_3.1.txt

    ...> C:\Python32\python.exe newline.py > newline_3.2.txt

Best regards,
Morten Zilmer

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13119>
_______________________________________


More information about the Python-bugs-list mailing list