+ 4
Difference between python 2.7 and 3.6
difference
9 Antworten
+ 4
They are 2 version of Python.
Due to a lot of modifications in Python3, now they are working like two separate Programs.
Some options of Python2 doesn't support Python3 and same way some options of Python3 also doesn't support Python2.
Django framework is now support only Python3.
All these happens to make Python3 more dynamic, to make more supportive with modern technology.
+ 6
There are a lot of difference between them like:
1- the print function.
2-Integer division
3-Unicode
4-xrange
5-Raising exceptions
6-Handling exceptions
7-The next() function and .next() method
8-For-loop variables and the global namespace leak
9-Comparing unorderable types
10-Parsing user inputs via input()
IF YOU WANT AX EXAMPLE FOR EACH ONE AND MORE DIFFERENCE CHECK THAT:
http://sebastianraschka.com/Articles/2014_python_2_3_key_diff.html
+ 4
if you know it, please explain it in short.
+ 4
yea, I think so. markus
+ 3
please explain it in short
+ 3
Changes several things, can't make it short. There are lots http://sebastianraschka.com/Articles/2014_python_2_3_key_diff.html
+ 3
nice explanation, rehman.
+ 2
I hope this enlights: https://wiki.python.org/moin/Python2orPython3
+ 2
@Anil, thanks