Python Decorators 2: Decorators with arguments @SebastiaanMath%C3%B4t
Python Decorators 2: Decorators with arguments  @SebastiaanMath%C3%B4t
Uploaded May 2018 | Updated September 2026, 2 weeks ago
(For more, visit https://pythontutorials.eu !) In this video, I show how you can create a Python decorator that accepts arguments by implementing what you might call a 'meta-decorator'. You can also create decorators that work both with and without arguments.

You can download the Jupyter Notebook for this video from osf.io/u96zr
Python Decorators 2: Decorators with argumentsWorking with files and folders in Rapunzel Code EditorList comprehensions in Python [Python comprehensions #1]Creating your own class [Object-oriented programming in Python, pt. 2]Introduction to deep learning with Python and Keras [Part 1]Python tricks: Type hints and static type checkingSynapses and The Action Potential | Biological Psychology 2.3Neurons and the Membrane Potential | Biological Psychology 2.2OpenSesame 0.24 screencast: Creating a cat faces experimentUsing Python inline script in OpenSesame 3.0PythonLiveLessons #3: Getting started with gitVisual debugging in Python with PDB and Rapunzel
Sebastiaan Mathôt |

Python Decorators 2: Decorators with arguments

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER