+ 1
What are the major differences between python 3.X and 2.X?
the biggest diiference I know is the change of print sentence from being a statement in 2.7 and a function in 3.X. any thoer differences?
4 ответов
+ 14
The biggest difference is that Python 2.7 will be discontinued, while 3.6.1 is still developed.
Also, some glitches were removed and many internal mechanisms were optimized between 2.x and 3.x to reflect changing hardware and software environment.
Python 2.x will became obsolete for new developments, but will continue to thrive for a couple of years in currently existing projects.
+ 2
the main differenve is that the library you liked the most with pyton 2.7 is incomatible with python 3 or if it is compatible, it's only until python 3.x and you realize it as soon as you have installed the latest and more incompatible version.
+ 1
The only one I know is that print "Some text" went to print("Some text").
0
same as myself :)