Python Decorators 1: The Basics @SebastiaanMath%C3%B4t
Python Decorators 1: The Basics  @SebastiaanMath%C3%B4t
Uploaded May 2018 | Updated September 2026, 3 weeks ago
(For more, visit https://pythontutorials.eu !) In this video, I demonstrate the basics of function decorators in Python. I also demonstrate the @functools.wraps decorator for preserving docstrings of decorated functions.

You can download the Jupyter Notebook for this video from osf.io/szwhk
Python Decorators 1: The BasicsOptical illusion: Swinging tower of Pisa (illusory tilt)Analyzing eye-movement and pupil-size data with Python DataMatrixChanges in pupil size in response to lightVision | Biological Psychology 3.3Attention | Biological Psychology 6.2Writing text with your mind (decoding attention through pupillometry)OpenSesame experiment builder on AndroidWho is tracking you when you visit a regular website?Erik Satie — Gnossienne N°1 (with rhythm)Using lists effectively in Python7 More Tricks to Write Better Python Code
Sebastiaan Mathôt |

Python Decorators 1: The Basics

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER