Python - OOP - Classes, Methods, Attributes, Composition, Inheritance

Опубликовано: 19 Декабрь 2024
на канале: VitoshAcademy
74
3

Ever wanted to see someone coding a few standard classes in python, talking about it and debugging? Well, search no more - here it comes!

In this video, I am "solving" three problems from the book "Python Workout - 50 ten-minute exercises", trying to debug my way around it.

Contents:
Writing the basic tests - 1:06
Basic Python Class - 2:11
self.__repr__() method - 15:00
list comprehension in class - 18:49
some unplanned debugging - 29:00
methods over collections of classes, in another class - 42:58
happy end, when everything works as expected - 49:00

Jupyter Notebook in GitHub:
https://github.com/Vitosh/Python_pers...

VitoshAcademy article:
https://www.vitoshacademy.com/python-oop

Book:
https://www.manning.com/books/python-...