Programming with Python

  1. Home
  2. Docs
  3. Programming with Python
  4. Exception handling in python

Exception handling in python

Errors and exceptions are similar but different terms.

While error represents, any bug in the code that disrupt running of the program or cause improved output.

An exception refers to any irregular situation occurring during run time, which we have no control on.

In exception handling we learn what are the different exceptions and how to handle it.


Was this article helpful to you? Yes No

How can we help?