[proxy] web.archive.org← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light

Introduction to Python Exceptions – Real Python

Real Python

The Wayback Machine - https://web.archive.org/web/20230604005102/https://realpython.com/courses/introduction-python-exceptions/

A Python program terminates as soon as it encounters an error. In Python, an error can be a syntax error or an exception. In this course, you will see what an exception is and how it differs from a syntax error. After that, you will learn about raising exceptions and making assertions. Then, you’ll finish with a demonstration of the try and except block.

Introduction to Python Exceptions

3 Lessons 13m

With 20 years as a teacher of music technology, Darren is keen to bring his skills to the Python table.

» More about Darren


Each tutorial at Real Python is created by a team of developers so that it meets our high quality standards. The team members who worked on this tutorial are:

« Browse All Courses