2 ms·
> python 2 executable is named python while python 3 is python3 Nope, not quite. Python 2 is named python2 and python 3 is named python3, on every system I am
by ac29 11y ago
> python 2 executable is named python while python 3 is python3
Nope, not quite. Python 2 is named python2 and python 3 is named python3, on every system I am aware of. 'python' is ambiguous and can be linked to either [1]. I know at least on Arch Linux, python links to python3, and I have run into a handful of scripts that break by assuming python is always linked to python2.
[1] https://www.python.org/dev/peps/pep-0394/ https://www.python.org/dev/peps/pep-0394/