Menu
Course

Exception Handling in Python

In this chapter, you will learn one of the most important concepts in programming which is Exception Handling. Exception Handling is the key if you want to develop solid and unbreakable programs. Exception Handling is the process of responding to exceptions which breaks program.

Syllabus

4 chapters16 lessons

Introduction to Exceptions

2 lessons
  • 01What is Exception ?
  • 02Exception vs Error

Exception Handling

7 lessons
  • 01try-except
  • 02else
  • 03Finally
  • 04Printing Exception message
  • 05Printing Exception Name
  • 06Handling Multiple Exceptions
  • 07sys module for information

User-defined Exceptions

6 lessons
  • 01Types of Exceptions
  • 02Raising an Exception
  • 03User Defined Exception
  • 04Exception Handling Exercise- 1
  • 05Exception Handling Example-2
  • 06Exception Handling Example-3

Customization/best practices

1 lesson
  • 01Customize Tracebacks

More like this

Frequently asked questions

How many lessons does Exception Handling in Python have?

Exception Handling in Python contains 16 interactive lessons you can complete at your own pace.

What does Exception Handling in Python cover?

The course is organized into chapters covering: Introduction to Exceptions, Exception Handling, User-defined Exceptions, Customization/best practices.

Is Exception Handling in Python free?

Yes - every course on Coddy is free to start. You can complete lessons in your browser without any downloads or signup.
Coddy programming languages illustration

Start Exception Handling in Python for free

GET STARTED