Media Summary: probably the most asked question on my channel -- what are those funny @ signs! I today I talk about `ExitStack` and a few uses of it: conditional contexts, variable contexts - context managers the hard way: ... today I talk about __slots__ and __dict__ and how they relate to objects! playlist: ...

Python Decorator Stacking Intermediate Anthony Explains 213 - Detailed Analysis & Overview

probably the most asked question on my channel -- what are those funny @ signs! I today I talk about `ExitStack` and a few uses of it: conditional contexts, variable contexts - context managers the hard way: ... today I talk about __slots__ and __dict__ and how they relate to objects! playlist: ... today I show off `nullcontext` as well as a few popular usecases for conditional context managers and one for pytest! - conditional ... today I go over all the options and use cases for fixtures in pytest! - testing a commandline with pytest: ... Review code better and faster with my 3-Factor Framework:

today I to into detail about data descriptors, non-data descriptors, what the point of them is, as well as a quick example! playlist: ... today I talk about how to type annotate a -- fortunately it's really easy! - what is  ... Resources & Further Learning - *args vs **kwargs - Visually today I go over the much much easier way to handle binary search! I've found this is much better than trying to implement it on the ... today I talk about the difference between object and Any when typing things! - intro to typing / mypy: ... today I talk about how .contextmanager works - with + context managers (part 1: the hard way): ...

Photo Gallery

python @decorator stacking (intermediate) anthony explains #213
python: decorating a class (intermediate) anthony explains #194
python @decorators - (intermediate) anthony explains #002
the python @property decorator (beginner - intermediate) anthony explains #005
python: class-based @decorators (intermediate - advanced) anthony explains #195
python: conditional context and ExitStack (intermediate) anthony explains #189
Decorators - Advanced Python Tutorial #2
python: what is __slots__ and __dict__ (intermediate) anthony explains #122
python typing: @overload (intermediate) anthony explains #163
what is nullcontext? (conditional contexts, pytest) (intermediate) anthony explains #464
Learn Python DECORATORS in 7 minutes! 🎊
pytest: everything you need to know about fixtures (intermediate) anthony explains #487
View Detailed Profile
python @decorator stacking (intermediate) anthony explains #213

python @decorator stacking (intermediate) anthony explains #213

today I talk about the behaviour of

python: decorating a class (intermediate) anthony explains #194

python: decorating a class (intermediate) anthony explains #194

we talked about

python @decorators - (intermediate) anthony explains #002

python @decorators - (intermediate) anthony explains #002

probably the most asked question on my channel -- what are those funny @ signs! I

the python @property decorator (beginner - intermediate) anthony explains #005

the python @property decorator (beginner - intermediate) anthony explains #005

In this video I

python: class-based @decorators (intermediate - advanced) anthony explains #195

python: class-based @decorators (intermediate - advanced) anthony explains #195

following up for class

python: conditional context and ExitStack (intermediate) anthony explains #189

python: conditional context and ExitStack (intermediate) anthony explains #189

today I talk about `ExitStack` and a few uses of it: conditional contexts, variable contexts - context managers the hard way: ...

Decorators - Advanced Python Tutorial #2

Decorators - Advanced Python Tutorial #2

In this video we talk about

python: what is __slots__ and __dict__ (intermediate) anthony explains #122

python: what is __slots__ and __dict__ (intermediate) anthony explains #122

today I talk about __slots__ and __dict__ and how they relate to objects! playlist: ...

python typing: @overload (intermediate) anthony explains #163

python typing: @overload (intermediate) anthony explains #163

today I talk about the @overload

what is nullcontext? (conditional contexts, pytest) (intermediate) anthony explains #464

what is nullcontext? (conditional contexts, pytest) (intermediate) anthony explains #464

today I show off `nullcontext` as well as a few popular usecases for conditional context managers and one for pytest! - conditional ...

Learn Python DECORATORS in 7 minutes! 🎊

Learn Python DECORATORS in 7 minutes! 🎊

Decorator

pytest: everything you need to know about fixtures (intermediate) anthony explains #487

pytest: everything you need to know about fixtures (intermediate) anthony explains #487

today I go over all the options and use cases for fixtures in pytest! - testing a commandline with pytest: ...

Python Decorators: The Complete Guide

Python Decorators: The Complete Guide

Review code better and faster with my 3-Factor Framework: https://arjan.codes/diagnosis.

python descriptors! (advanced) anthony explains #519

python descriptors! (advanced) anthony explains #519

today I to into detail about data descriptors, non-data descriptors, what the point of them is, as well as a quick example! playlist: ...

python typing: @property (beginner - intermediate) anthony explains #117

python typing: @property (beginner - intermediate) anthony explains #117

today I talk about how to type annotate a @property -- fortunately it's really easy! - what is @property ...

Python Decorators - Visually Explained

Python Decorators - Visually Explained

Resources & Further Learning - *args vs **kwargs - Visually

python: binary search the easy way (interview tips) (intermediate) anthony explains #173

python: binary search the easy way (interview tips) (intermediate) anthony explains #173

today I go over the much much easier way to handle binary search! I've found this is much better than trying to implement it on the ...

Expert Python Tutorial #4 - Decorators

Expert Python Tutorial #4 - Decorators

In this video I'll be discussing

python typing: object vs Any (intermediate) anthony explains #275

python typing: object vs Any (intermediate) anthony explains #275

today I talk about the difference between object and Any when typing things! - intro to typing / mypy: ...

how @contextmanager works (with/contexts part 3) (advanced) anthony explains #140

how @contextmanager works (with/contexts part 3) (advanced) anthony explains #140

today I talk about how @contextlib.contextmanager works - with + context managers (part 1: the hard way): ...