Uploaded September 2016 | Updated September 2026, 3 weeks ago
Check out the entire playlist with Python lectures! youtube.com/playlist?list=PLR-r0edywujd8D-R2Kue1C_wYEK_4Ii71
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
Check out the entire playlist with Python lectures! youtube.com/playlist?list=PLR-r0edywujd8D-R2Kue1C_wYEK_4Ii71
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
![Creating a psychology experiment with OpenSesame 3.1
[https://www.buymeacoffee.com/cogsci] OpenSesame is a free program for developing experiments in psychology, neuroscience, and experimental economics. This screencast is a step-by-step walk through the beginner tutorial. This screencast is for OpenSesame version 3.1, Jazzy James. Creating a psychology experiment with OpenSesame 3.1](https://i.ytimg.com/vi/FCXcnAv9aMA/mqdefault.jpg)







![Dict comprehensions in Python [Python comprehensions #2]
[https://www.buymeacoffee.com/cogsci] In this video, I demonstrate dict comprehensions in Python. This is a way to build dict objects with a single expression. The notebook for this video is available at https://osf.io/nqbam/. For more tutorials, visit https://python.cogsci.nl/. Dict comprehensions in Python [Python comprehensions #2]](https://i.ytimg.com/vi/ILo3ImEMEWc/mqdefault.jpg)

