โ† All lessons

Lesson 52 of 62 ยท about 16 minutes

Properties and Managed Attributes ๐ŸŽ›๏ธ

Properties and Managed Attributes ๐ŸŽ›๏ธ In some languages you write getSpeed() and setSpeed() methods for every attribute, just in case. Python has a better idea: start with plain attributes, and if you later need logic when they are read or changed, turn themโ€ฆ

This lesson is part of Pythonaut Pro. The first two lessons are free, so you can start there and see how it works.

See the free lessons