[Tutor] Carriage return
kent37 at tds.net
Mon Oct 12 13:58:57 CEST 2009
On Sun, Oct 11, 2009 at 11:38 PM, Wayne <srilyk at gmail.com> wrote:
> That's not an issue with IDLE so much as windows/linux. IIRC, Linux only
> uses a newline, while windows uses a CRLF. There's the dos2unix util:
> that may help.
There is also a crlf.py script distributed with Python (in the scripts
folder) that removes CR.
Some version control systems will handle this for you - Subversion,
Mercurial and git, at least - so you could use a VCS to transfer the
files and convert the line endings. This would also give the benefit
of having the files in the VCS.
More information about the Tutor