On Sun, Oct 11, 2009 at 11:38 PM, Wayne <[email protected]> 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:
> http://linuxcommand.org/man_pages/dos2unix1.html
> 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.

Kent
_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to