On 11 November 2015 at 06:35, Nick Coghlan <ncogh...@gmail.com> wrote: > > Longer term, it may even make sense to take the "python" command on > *nix systems in that direction, or, at the very least, make "py" a > cross-platform invocation technique: > https://mail.python.org/pipermail/linux-sig/2015-October/000000.html
This would also be good. The inconsistency between Windows and everything else is just annoying here. I've never been able to recommend the use of py.exe even though most of my students are on Windows and the lab machines are Windows because many of them use OSX and a few use Linux. Also although I can reliably assume that "python" is on PATH I can't know what version it is since it is most likely 3.x on Windows and 2.x on everything else which means that every script I give them has to be 2/3 compatible. With py.exe I could recommend "py -3" or I guess "py somescript.py" would throw a helpful error if the shebang doesn't match (which would be good). -- Oscar _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig