CREATOR ONLY

Debugging in Python

Learn how to use exceptions, assertions, and other statements to debug and fix errors in your Python code.

Get Started

TECHNOLOGIES

Core Python

WATCH TIME

16 minutes

Lessons

Logging to the Console

Learn how to log into Python console on PyCharm as a way to interactively debug your code.

8 min

Making Assertions

Understand here how to use an assertion, a checking mechanism that you can use while testing your program.

5 min

Raising Exceptions

Learn how to use raise, try, except in your Python code to elegantly handle errors that may arise.

5 min