Exceptions you own this product

prerequisites
Python shell
skills learned
how Python exceptions are created, raised, and handled • what is in an exception object • how inheritance works for exceptions
Naomi Ceder
1 week · 1-3 hours per week · INTERMEDIATE

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Look inside

In this liveProject, you’ll explore the unique way that exceptions work in Python. Python makes frequent use of exceptions, but they often function in a very different way than other programming languages. You’ll experiment with the basic try-and-except structure used for handling exceptions, then dive into using inheritance with exceptions, and creating your own hierarchy of exceptions.

This project is designed for learning purposes and is not a complete, production-ready application or solution.

project author

Naomi Ceder
Naomi Ceder is the former chair of the Python Software Foundation. She has been learning, using, and teaching Python since 2001.

prerequisites

This liveProject is for both new and experienced Python coders looking to refine their skills with the language. To begin this liveProject, you will need to be familiar with the following:


TOOLS
  • A Python “shell” such as Jupyter Notebook
  • Command line
TECHNIQUES
  • Create and use a simple try/except block
  • Create a class by inheriting from another

features

Self-paced
You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from other participants and our expert mentors.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
book resources
Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.

choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • Exceptions project for free