What does the “at” (@) symbol do in Python?

An @ symbol at the beginning of a line is used for class and function decorators:

The most common Python decorators are:

An @ in the middle of a line is probably matrix multiplication:

Leave a Comment