Wednesday, April 24, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 2879  / 1 Year ago, sun, february 5, 2023, 4:42:33

I am running Xubuntu 13.10, 64 bit.



python --version outputs Python 2.7.5+ which is normal since python 2.7 is installed by default on all Linux distros.



But when I go to Software center -> and click on the installed tab -> development tools. I see python IDE version 3.3.



Is it installed by default on all Ubuntu/Xubuntu 13.10? And if so, why?


More From » 13.10

 Answers
0

Both Python 2 and Python 3 are installed by default on Ubuntu (and derivatives).



Python 3 is the newer version of it and applications are being updated to work with it, however many programs still use 2 (for various reasons)



The default python program links to Python 2 for compatibility reasons, 2 is incompatible with 3.



To use Python 3, you should use python3 instead.



$ python --version
Python 2.7.4
$ python2 --version
Python 2.7.4
$ python3 --version
Python 3.3.1

[#27417] Sunday, February 5, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
donurp

Total Points: 328
Total Questions: 128
Total Answers: 123

Location: Faroe Islands
Member since Thu, Apr 8, 2021
3 Years ago
;