Featured resource
2026 Tech Forecast
2026 Tech Forecast

Stay ahead of what’s next in tech with predictions from 1,500+ business leaders, insiders, and Pluralsight Authors.

Get these insights
  • Course

Core Python 3: Robust Resource and Error Handling

Exceptions are ubiquitous in Python. In this course, you'll broaden your knowledge of exceptions and how to work with them. You'll also be introduced to context managers, Python's facility for safely and automatically managing resources.

Intermediate
1h 14m
(56)

Created by Austin Bingham and Robert Smallshire

Last Updated Jul 15, 2022

Course Thumbnail
  • Course

Core Python 3: Robust Resource and Error Handling

Exceptions are ubiquitous in Python. In this course, you'll broaden your knowledge of exceptions and how to work with them. You'll also be introduced to context managers, Python's facility for safely and automatically managing resources.

Intermediate
1h 14m
(56)

Created by Austin Bingham and Robert Smallshire

Last Updated Jul 15, 2022

Get started today

Access this course and other top-rated tech content with one of our business plans.

Try this course for free

Access this course and other top-rated tech content with one of our individual plans.

This course is included in the libraries shown below:

  • Core Tech
What you'll learn

The dominant error handling strategy in Python is the use of exceptions, and exceptions are ubiquitous in the Python language, standard library, and package ecosystem. In this course, Core Python 3: Robust Resource and Error Handling, you’ll understand how to work with exceptions in Python. First, you’ll be introduced to context managers, Python’s facility for safely and automatically managing resources. Next, you'll see how larger systems often benefit greatly from more sophisticated exception handling strategies. Finally, you'll discover how to model database transactions. When you're finished with this course, you’ll know how to chain associated exception together, define your own exceptions, and define and deploy context managers.

Core Python 3: Robust Resource and Error Handling
Intermediate
1h 14m
(56)
Table of contents

About the author
Austin Bingham - Pluralsight course - Core Python 3: Robust Resource and Error Handling
Austin Bingham
16 courses 4.2 author rating 7116 ratings

Austin is a founding director of Sixty North, a software consulting, training, and application development company. He's a native of Texas but currently lives in Norway where he writes software, runs a local software interest group, and presents and teaches whenever he can.

About the author
Robert Smallshire - Pluralsight course - Core Python 3: Robust Resource and Error Handling
Robert Smallshire
16 courses 4.2 author rating 7252 ratings

Robert Smallshire is a founding director of Sixty North, a software product and consulting business in based in Norway. He has held several senior software architecture and technical management roles, and he is a regular conference speaker. Python is his weapon of choice.

Get started with Pluralsight