Different ways to use objects and attributes in Python

Publicado em: 19 Setembro 2016
no canal de: Sebastiaan Mathôt
3,464
53

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


Nesta página do site você pode assistir ao vídeo on-line Different ways to use objects and attributes in Python duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Sebastiaan Mathôt 19 Setembro 2016, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 3,464 vezes e gostou 53 espectadores. Boa visualização!