+ 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.

17th Aug 2020, 12:49 PM
BeastyDSK
BeastyDSK - avatar
1 Resposta
+ 2
Check this link out. Decorators have been explained really well. https://realpython.com/primer-on-JUMP_LINK__&&__python__&&__JUMP_LINK-decorators/
21st Aug 2020, 4:12 PM
Ali Shah Jindani
Ali Shah Jindani - avatar