Which Version of Python? Python 2 vs Python 3

🎓 Welcome back to Digital Academy, the Complete Python Development Tutorial for Beginners, which will help you learn Python from A to Z!

🖥️ There are two major versions of Python available: Python 2, also known as legacy Python, and Python 3!

It can be confusing for both new and seasoned programmers on deciding between Python 2 or 3. Fortunately, there are few syntactical differences, between the two of them. And, you can run even both versions, on your computer!

To check out whether Python is already installed on your machine, or your current version, open the terminal and run the following command

python -V

If you see a response from Python, some information will appear on the screen, including: the word Python, followed by the version number, and the build information. Python is already installed, but may need un update!

Python 3.7.6 (default, Dec 30 2019, 19:38:26)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.


Which version is right for you?

Well, that’s up to you. Honestly, there are few differences between the two that will affect you at this early stage, so either choice will suffice. Plus, once you have learned one, it is not too difficult to learn the other.

In general, if you are just starting to learn Python, go with Python 3. It is a well-known better version as there are added features, along with plenty of bug fixes and a few refinements.

However, Python 2 has much more support from third-party libraries. If you know you will need to use a library that has not been ported to version 3 yet, then it may be best to start with Python 2.

Nonetheless, Python 2 was released in the year 2000, and has since reached its ends-of-life on January 1, 2020. So, this entire course will focus on Python 3 only, which is currently in active development, in terms of gaining new features and functionality. That said, most of the examples will work fine with either version, since many of the features and the updates added to Python 3, were also added to Python 2.

Let’s play this video, stick around and watch until the end of this video! 👍🏻

– Digital Academy™ 🎓

***

☞ WATCH NEXT:
○ Download & Install Python https://youtu.be/8OUle4sCGVU
○ HOW TO Learn Python? Python Tutorial for Beginners [FULL Course] https://youtu.be/9hvnSZPMtuw

📖 Blog: http://digital.academy.free.fr/blog

📖 Complete Python Development Course for Beginners [PLAYLIST]: http://digital.academy.free.fr/playlist/python-development-for-beginners

#Python #Tutorial #Beginners #Shorts

***

♡ Thanks for watching and supporting ♡
Please Subscribe. Hit the notification bell.
Like, Comment and Share.

***

♡ FOLLOW US ♡
http://digital.academy.free.fr/
https://twitter.com/DigitalAcademyy
https://www.facebook.com/digitalacademyfr
https://www.instagram.com/digital_academy_fr/
https://www.youtube.com/c/DigitalAcademyOnline

♡ SUPPORT US ♡
http://digital.academy.free.fr/join
http://digital.academy.free.fr/donate
http://digital.academy.free.fr/subscribe
https://www.patreon.com/digital_academy
https://www.buymeacoffee.com/digital_academy

***

Copy link
Powered by Social Snap