Shebang line on Windows?
Michael Torrie
torriem at gmail.com
Mon Feb 25 13:33:53 EST 2013
On 02/25/2013 10:29 AM, D'Arcy J.M. Cain wrote:
> I don't run Windows myself so I can't test it but doesn't Python on
> Windows work fine with Unix style EOL? So why not strip out the CR and
> run the same file everywhere?
As has been said on this thread, python is perfectly happy on windows
with the Unix-style EOL. And if you use a good programmer's editor, it
will happily keep unix-style line endings. Use a crappier,
windows-centric editor, and you'll see the CR's creeping back in.
More information about the Python-list
mailing list