Pregunta de entrevista de STR Softwares

What are Python decorators and how do you use them?

Respuesta de la entrevista

Anónimo

22 may 2025

I explained that decorators are used to modify the behavior of a function without changing its code, and gave an example using @login_required.