Making a lazy attribute PREMIUM

Topic Series: Properties

Trey Hunner smiling in a t-shirt against a yellow wall
By Trey Hunner

Topic Trail: Properties

We don't use getter and setter methods in Python. Instead we make properties.

Properties allow us to customize what happens when you access an attribute and what happens when you assign to an attribute.

To track your progress on this Python Morsels topic trail, sign in or sign up.

0%