+ 3
I need to know about decorators in python?
Is anyone here know about decorators.Becoz its confusing me.I have already seen it in python flask mudule. ex: @app.route() def fun(): pass But on that time i thought it was just a code.I have already seen sololearn but cant get the point.So dont share sololearn as reference.
1 Answer
+ 2
Check this link out. Decorators have been explained really well.
https://realpython.com/primer-on-JUMP_LINK__&&__python__&&__JUMP_LINK-decorators/