From the course: Python for Students
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Python 2 versus Python 3 - Python Tutorial
From the course: Python for Students
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. Make sure that you download the newest version from the python.org website.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.