On 08.11.2017 0:26, Paul Moore wrote:
On 7 November 2017 at 20:38, Chris Barker <chris.bar...@noaa.gov> wrote:
On Tue, Nov 7, 2017 at 5:04 AM, Thomas Jollans <t...@tjol.eu> wrote:
As Ivan said earlier, perhaps the Windows installers should provide a
"python3" executable, so "python3 -m pip" works everywhere.
absolutely! I really, really thought it did!!!! (I'm amazed I never heard
from a single student getting bit by that...)
On Windows, use py -X.Y to select the exact version of Python you
want. Maybe Unix should have a launcher like this, too? It doesn't
really need to be any more complex than
Native UNIX packages have been using `pythonX' and `pythonXY' for years, with incomplete names meaning "the latest installed version qualifying". This allows very convenient and reliable use in shebangs -- the script explicitly states which version it is written for (and even which installation, by specifying a full path - then even e.g. overriding `python' on PATH doesn't break system scripts).

--
Regards,
Ivan

_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to