Exceptions with Python

Exceptions with Python

Learn how to create and manage Exceptions using Python. As a result, you'll have more robust, fault tolerant, and production-ready programs.

3 hours

6 assignments

3 videos



The quality of a Python program is limited to its exception management. If you're not aware of an exceptional edge case, your data pipeline could blow up in the middle of processing, leaving you forced to start over.

Creating your own exceptions to signal unwanted states in your code is the optimal approach when building scalable models.

"You'll understand the importance of designing robust programs and making them fault tolerant. The difference between a junior and senior Data Scientist is their ability to write production-ready programs."

Instructor Santiago Basulto

Santiago Basulto

Course Instructor




Intro to Exceptions

Raising Exceptions

Custom Exceptions

Exceptions Assignments

Hangman Game

Simple pricing

Gain access to RMOTR’s entire course library


per month

15% OFF!


per year

  • Full access to all videos & courses.
  • 200+ programming assignments.
  • 20+ Github Projects to add to your portfolio.
  • Access to exclusive community.
  • Exclusive access to members-only webinars and workshops.
Learn more

What Our Students
Have to Say

The most trusted Data Science academy online.
1000+ students have trusted us with their Data Science careers.

Willian Ponton
William Ponton

The perfect combination of building real-world skills through challenging coursework and projects.

Aiya Akatayeva

I have tried multiple ways to learn Data Science. Now, with the lessons and practice provided here, I finally feel like I am making real progress.

Chris Mccluskey
Chris McCluskey

Clear guidance while providing detailed explanations. Greatly enhanced my knowledge in a short amount of time!

Course instructor

Santiago Basulto

Data Scientist at RMOTR

Santiago is an experienced Data Scientist and Python programmer with more than 10 years of experience in the field. He started as a Java developer working as a consultant on high performance and critical systems before moving to Python. In 2012 was hired as the CTO of Athlete.com, a startup analyzing data from runners. He then fell in love with Data processing with Python and in 2015 founded RMOTR, to provide expert-level Data Science training.