Build a useful Python decorator

Video description

Learn how to create a Python decorator that can handle exceptions by taking arguments and handling them automatically, saving you time and preventing repetition!
In this video I'll walk you through some of the inner workings of decorators, but most importantly, I'll show you how to build a decorator that takes arguments and handles exceptions automatically, avoiding repetition and making your code more readable!
Topics include:
* Learn how decorators work behind the scenes
* Find the differences between a lazy and eager decorator
* Work with decorators that take arguments and delay execution
Useful links:
* Github repository with sample code
* Get started with Python

Table of contents

  1. Lesson 1
    1. "Create A Python Decorator"

Product information

  • Title: Build a useful Python decorator
  • Author(s): Alfredo Deza, Noah Gift
  • Release date: November 2021
  • Publisher(s): Pragmatic AI Solutions
  • ISBN: 50123VIDEOPAIML