Check out the entire playlist with Python lectures! • Python lectures
This screencast demonstrates several different ways to represent objects and attributes in Python, using the example of a kitten (the object) with a name and an age (the attributes). The techniques are:
using a list
using a dict
using a namedtuple
using a (simple) class
using a class with getters (properties) and setters
using the attr package
On this page of the site you can watch the video online Different ways to use objects and attributes in Python with a duration of hours minute second in good quality, which was uploaded by the user Sebastiaan Mathôt 19 September 2016, share the link with friends and acquaintances, this video has already been watched 3,464 times on youtube and it was liked by 53 viewers. Enjoy your viewing!