Differences between Python 2 and Python 3

--Originally published at Luis Santana's Blog

We can summarize it as this: Python 2 is legacy, Python 3 is the present and future.

In my opinion, I think the main difference is the print function, it is different enough that the same script won’t be able to run in Python 2 and Python 3. In Python 2 you could print “Hello”  and in Python 3 you must write print (“Hello”).

Esentially, the print statement has been replaced with print () function.

Something you should consider too is that all the libraries you used to work with in Python 2 won’t work .

We can say that the future of Python is towards Python 3, but it will take some time to get there, because it need time so other people will get used to Python 3 and start doing the stuff they had in Python 2 but for Python 3.