What are Python decorators?



What are Python decorators?..

Answer / chaitanya

A Python decorator is a specific change that we make in Python syntax to alter functions easily.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

What is a negative index in python?

1 Answers  


What is the use of negative indices?

0 Answers  


What statement is used in python if the statement is required syntactically but no action is required for the program?

0 Answers  


Write code to print everything in the string except the spaces.

0 Answers  


What is the difference between re.search and re.match?

0 Answers  






What does unittest main () do?

0 Answers  


Why do we need the __init__() function in classes? What else helps?

0 Answers  


Which library would you prefer for plotting in python language: seaborn or matplotlib?

0 Answers  


Explain me what does the <self> keyword do?

0 Answers  


Which is the default function in a class?

0 Answers  


What is the module and package in python?

0 Answers  


How will you use python to read a random line from a file?

0 Answers  


Categories