From the course: Python for Students (2019)

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Python 2 versus Python 3

Python 2 versus Python 3 - Python Tutorial

From the course: Python for Students (2019)

Python 2 versus Python 3

- If you're new to Python and you do a simple Google search, you might see some people talking about Python 2 versus Python 3. I want to take a quick minute to help you understand the history and difference between these versions. First, Python 3 was introduced all the way back in 2008. However, it was a large rewrite of the language that was not backwards compatible with Python 2. What this means is that programs that were written in Python 2 wouldn't automatically work in Python 3 and upgrading from Python 2 to Python 3 could not be fully automated. This presented some real challenges for programmers. As such, both versions of the Python language have lived for a long time to give developers ample time to upgrade their Python 2 applications to Python 3. Python 2 will officially stop being supported in January of 2020. So, if you're first learning Python now, start with Python 3, but be aware that many Apple computers will come prepacked with a version of…

Contents