What are decorators in Python?

Home Forums Software Testing Discussions What are decorators in Python?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #25909
    jhon
    Participant
    @richards12

    Hi, I need to know What are decorators in Python

    #26046
    Jahnvi
    Participant
    @gosaijahnvi

    Decorators are very powerful tool in Python as it allows us to modify the behavior of a function or a class without permanently modifying it using its wraping up functionalities of another function or a class

    ASP.Net Software Development

    #26291
    Athira
    Participant
    @athira

    <span style=”color: #40424e; font-family: urw-din, sans-serif; font-size: 17px; letter-spacing: 0.162px;”>Decorators are a very powerful and useful tool in Python that allows a user to add new functionality to an existing object without modifying its structure.</span>

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.