What's the difference between python2 and 3 ?! | Sololearn: Learn to code for FREE!


What's the difference between python2 and 3 ?!

I'm a mechanical student. I need to learn Python for engineering purposes. Are the libraries of this two versions different?

4/25/2018 4:49:25 AM

Amir H.

1 Answer

New Answer


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. 🔼Most major software packages now work on Python 3 🔼Django recommends using Python 3 and new versions no longer support Python 2 🔼Development on Python 2.7 itself will stop after 2020🤔 🔼The short answer is that if you’re a beginner, you should focus on Python 3. ⏩Now Python 3 has very big community support and gradually it increases rapidly, Python is so popular due to one of the reasons that it has very rich libraries which helps Programmer with less coding is needed due to a lot of ready coding supports are available in it's libraries and day by day it's also increasing heavily. ⏹So as a new learner it's always acceptable where changes and development are done with time to adjust with changes and market demands. 🔽On the other hand after 2010 no further progress is made on Python 2 and Libraries development are also stopped from 2016. https://www.sololearn.com/discuss/1067691/?ref=app