
Put simply: Decorators wrap a function, modifying its behavior. A simple decorator example: def my_decorator(function): def wrapper(): print("Something is happening before the function is called.") function() # do other st...
Software Engineer | Youtuber
I am a developer by heart. Love programming and problem solving. and love to share whatever I learn. Feel free to contact me or follow on Twitter. I tweet about Programming, MEMEs, Quotes, Books etc. I also make youtube video related to programming and tutorials. checkout my channel also "a little coding"
Markdown supported · ⌘↵ to post
No responses yet.