SamSuka
Clear Code
Clear Code

patreon


Understanding decorators

A video on understanding python decorators, including the property decorator in classes. 

Timestamps:
00:00 - Intro & Decorator theory
03:34 - Function basics  
08:28 - Basic decorator
21:03 - Decorators with function arguments
26:44 - Decorators with parameters
31:48 - Decorators & classes with @property   

Project files:
https://github.com/clear-code-projects/decorators 

Pastebin:
function_basics - https://pastebin.com/AjSn3hcA
basic_decorator - https://pastebin.com/NVB8gLfP
decorators_arguments - https://pastebin.com/wHTrXGd5
decorator_parameter - https://pastebin.com/JLNecfFs
property_decorator - https://pastebin.com/bj0bgJKN

Understanding decorators

More Creators