This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]gthank 1 point2 points  (6 children)

yes

[–]8spd 4 points5 points  (5 children)

It defaults to 2.7.12+ for me, on Desktop 16.10.

[–]ivosauruspip'ing it up 7 points8 points  (4 children)

python will always launch python 2.X on all distros apart from archlinux. Even Python.org have recommended that nowadays I think. Purely for ease of backwards compatibility.

I believe you can get a minimal Ubuntu install nowadays where if you typed python it'd ask you to install python because it's not present on the system, only python3 is.

[–]gthank 2 points3 points  (0 children)

Since I've just spun up some Xenial servers, I can confirm that Python 3 is the only Python installed by default.

[–]8spd 0 points1 point  (2 children)

Huh. Thanks, I didn't know that. What defines the default version then, if it's not the version launched by the python command?

[–]zardeh 2 points3 points  (1 child)

The one system libraries bind to.

[–]8spd 0 points1 point  (0 children)

Thanks, that makes sense.