python @decorators - (intermediate) anthony explains #002

preview_player
Показать описание
probably the most asked question on my channel -- what are those funny @ signs! I explain a simple decorator, a decorator factory, and some common decorators you'll find in python.

==========

I won't ask for subscriptions / likes / comments in videos but it really helps the channel. If you have any suggestions or things you'd like to see please comment below!
Рекомендации по теме
Комментарии
Автор

Cool, this explanation suits perfectly to your 2021 AoC solution day 22 p2, Thank you!

cordalisdis
Автор

A "lmgtfy" command would be funny :)
Seriously though, love these explains videos!

waynepalumbo
Автор

for the simpler version of decorator, we can simply remove the dec_inner function right? I mean it would result the same with or without

malakarakesh
Автор

Few times I came across a situations where I needed to use decorators for methos inside a class (A decorator usinfg self) . Its always messy. Can U cover this topic?

talalkalai
Автор

Great! Is there a way to force a decorator on all functions? Like a autouse fixture in pytest? Thanks

optimiserlenergie
Автор

Did you ever end up making a video about how to use the debugger in python? I didn't find a video, maybe I overlooked it by mistake?

dominiquekostler