I think you missed the point - just like other people who downvoted my comment above.
It's a 1 character difference.
Just start your python program with python3 instead of python.
Python 2.x has been around for a long time (couple decades actually). It's difficult for any OS to switch the default for "python" to 3 instead of 2, because too many scripts, tools, etc might misinterpret that for python2 (some distros have tried for years and keep postponing for that reason).
Or you can put python3 in the shebang and let the shell call take care of it.
"python3" has been around in parallel for years and probably will be there for the foreseeable future for similar reasons. And it will always be interpreted as python 3.x.
How difficult do you think it is to write 1 more character?
9
u/Jump3r3 May 30 '19
Using as default,
which pythonyields path to python 2 binary on most distros. That being said, after 1/1/20 this will slowly change for better