+ 3

Which one is better overall: Python 2.7.x or 3.6.x version and why?

I have few difference in my mind in terms of application but still I am average in Python. So overall which one is better and why?

21st Apr 2017, 1:10 AM
Tamoghna Saha
5 odpowiedzi
+ 12
3.6+ is more updated, and therefore better... but I couldn't tell you how. the only noticeable difference for me is print "" vs print(""). I recommend 3, but 2 shouldn't be a huge problem. I think there are even 2 -> 3 code converters. You can always have two python installations of both versions if it's a problem.
21st Apr 2017, 5:01 AM
Ahri Fox
Ahri Fox - avatar
+ 5
2.7 is the outdated version 3.6 is the more recent version. I have not used Python 2.7. 3.6 should have 2.7s features included.
21st Apr 2017, 1:16 AM
Manual
Manual - avatar
+ 5
Here is a post for more python info, if you are interested. https://www.sololearn.com/discuss/300260/?ref=app
21st Apr 2017, 1:26 AM
Manual
Manual - avatar
+ 5
a few months ago python 2.x was standard even 3.x was available. the reason was the huge amount of custom modulrs not yet ported to 3.x this argument is no more valid. community has done its work. python 3.6 is it.
20th Dec 2017, 8:38 AM
Oma Falk
Oma Falk - avatar
0
In time new packages will be more focused on 3+ rather than 2, but currently 2.7 is still active enough and has lots of modules available too.
22nd Apr 2017, 6:06 AM
Kostas Mouratidis
Kostas Mouratidis - avatar