005- Pratical Python Object Oriented Programing -OOP: Special Methods p2: __str__, __dir__, __dict__

Опубликовано: 31 Март 2025
на канале: WeeW - Stack
168
8

Tutorial Link:    • Playlist  

Understanding Python Object Oriented Programing is a key piece to master python and use the most of its library

This tutorial will be focusing on a practical example to learn OOP which will provide the experience that will re-enforce your learning and understand of different aspects of the Object oriented programming.

The overall tutorial is compsoed of 8 episodes for learning concepts and 3 ones to have a clear practical expirience using a core Python library

This lesson will be an introduction to special Methods with focus on the__dir()__, _str()_ and _dict()_ methods

Bellow the different charpters of this lesson:

00:00 - Introduction

00:40 - the __dir__() method

02:20 - the __str__() Method

04:20 - The _dict_ method

04:30 - Print the constructed object

05:15 - Summary