Geek Culture
Published in

Geek Culture

Python Decorators

The Fancy @ Symbol

The Python Logo from Python.org

If you read code from the top frameworks you may notice an “@” symbol above some methods. These fancy symbols are called decorators.

Python decorators represent a form of metaprogramming. This means they have the ability to modify another part of the program while the code is running. In simple terminology, they are functions that take other functions as arguments. We refer…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store