Sales Ended

Python decorators

Event Information

Share this event

Date and Time

Refund Policy

Refund Policy

Refunds up to 7 days before event

Event description

Description

One of the most powerful and advanced techniques that Python offers is known as a "decorator." Simply put, a decorator allows you to trap functions and classes when they are defined, and again when they are run, and do .... well, whatever you want with them.

Decorators are hard for many people to understand — what they do, when we would want to use them, and then how to go about doing so. In this five-hour class, based on what I teach to engineers at companies such as Apple, Cisco, IBM, Intel, PayPal, and VMWare around the world, we'll do a deep dive into Python decorators, covering such topics as:

  • Built-in decorators (property, staticmethod, classmethod)
  • The idea behind decorating
  • Classes as decorators
  • Functions as decorators
  • Decorating methods
  • Decorators that take arguments
  • Uses for decorators
  • Tips and tricks

The course will be online and live, and will include a large number of exercises. Participants will have ample opportunity to ask questions, both during the lecture/discussion and when solving the exercises. I'll use the Jupyter notebook for all of my live-coding, and will send you that notebook at the end of the day for you to examine and learn from.

Each participant will receive PDFs of slides, the Jupyter notebook I create and use for live coding, and solutions to all of the exercises.

The class will be given using WebEx; registered participants will receive login information 1-2 days before the course begins.

Questions? Contact Reuven at reuven@lerner.co.il.

Date and Time

Refund Policy

Refunds up to 7 days before event

Save This Event

Event Saved