Hint: You can adjust the default video playback speed in your account settings.
Hint: You can set your subtitle preferences in your account settings.
Sorry! Looks like there’s an issue with video playback 🙁 This might be due to a temporary outage or because of a configuration issue with your browser. Please see our video player troubleshooting guide to resolve the issue.
Exploring property() in Action
00:00
Putting Python’s property()
Into Action.
00:05
So far, you’ve learned how to use Python’s property()
built-in function to create managed attributes in your classes. You used property()
as a function and as a decorator and learned about the differences between these two approaches.
00:19
You’ve also learned how to create read-only, read-write, and write-only attributes. In the following sections of the course, you’ll code a few examples that will help you get a better practical understanding of common use cases of property()
, starting with validating input values.
Become a Member to join the conversation.