ООП: Инкапсуляция в python

Let's consider one of the 3 pillars of OOP - encapsulation, see what it is and what is better not to expect. Encapsulation implies collecting data and methods for working with them in one place (class), as well as providing a public interface (API) for working with them. In Python, the underscore _ is used to mark the internal implementation, that is, attributes that are not related to the public interface. One underscore (protected) is just a signal, the interpreter treats such attributes as ordinary ones. Two underscores (private) - includes the Name Mangling mechanism, which is not intended to hide data. Encapsulation in Python does not imply hiding data (in some languages, this is the same thing) - all data is available for viewing and changing. In Python, we do not try to take away tools from the user, we warn. 👣OOP First Steps    • Первые шаги в ООП: класс, объект, self   🐣OOP: Inheritance    • ООП: Наследование (Inheritance)   Join in helping the channel, it will be interesting) ✔️Boost https://boosty.to/python_russian/donate ✔️Yumani 410011506612886 Be the first everywhere and always, turn on notifications about new releases 🔔 Watch where it is convenient🤩 ✔️ https://vk.com/python_russian ✔️ https://rutube.ru/channel/24346352/ ✔️ https://dzen.ru/python_russian ✔️    / pythonrussian   ✔️ https://t.me/python_russian #Python #PythonRussian #PyCharm

ООП: Наследование (Inheritance)
▶︎

ООП: Наследование (Inheritance)

Python OOP getters setters, decorator property, classmethod, staticmethod
▶︎

Python OOP getters setters, decorator property, classmethod, staticmethod

Java OCP 21 (1Z0-830) | OOP | Comparable & Comparator — All that you wanted to know
▶︎

Java OCP 21 (1Z0-830) | OOP | Comparable & Comparator — All that you wanted to know

Магические методы в python. Dunder методы
▶︎

Магические методы в python. Dunder методы

ООП На Простых Примерах | Объектно-Ориентированное Программирование
▶︎

ООП На Простых Примерах | Объектно-Ориентированное Программирование

Асинхронность, Многопоточность, Многопроцессность в Python (2026)
▶︎

Асинхронность, Многопоточность, Многопроцессность в Python (2026)

ВСЁ про JAVA-СОБЕСЕДОВАНИЯ В 2026. ЗАРПЛАТЫ, ЛОВУШКИ, ВОПРОСЫ
▶︎

ВСЁ про JAVA-СОБЕСЕДОВАНИЯ В 2026. ЗАРПЛАТЫ, ЛОВУШКИ, ВОПРОСЫ

Принципы ООП. 1. Инкапсуляция
▶︎

Принципы ООП. 1. Инкапсуляция

Первые шаги в ООП: класс, объект, self
▶︎

Первые шаги в ООП: класс, объект, self

Polymorphism in Python: What is Duck Typing?
▶︎

Polymorphism in Python: What is Duck Typing?

Device Searches 2026: What the FSB Looks for at the Border and How to Hide Your Data
▶︎

Device Searches 2026: What the FSB Looks for at the Border and How to Hide Your Data

Устраиваюсь кодером НЕ УМЕЯ кодить [ Пранк работодателей ]
▶︎

Устраиваюсь кодером НЕ УМЕЯ кодить [ Пранк работодателей ]

Функции getattr, setattr, hasattr в Python
▶︎

Функции getattr, setattr, hasattr в Python

Математик и черт
▶︎

Математик и черт

Richard Stallman: The Most Inconvenient Man in IT
▶︎

Richard Stallman: The Most Inconvenient Man in IT

Исторический анекдот или встреча с ферматистом
▶︎

Исторический анекдот или встреча с ферматистом

#20. Наследование в объектно-ориентированном программировании | ООП Python
▶︎

#20. Наследование в объектно-ориентированном программировании | ООП Python

SOLID-принципы. Введение в ООП на Python.
▶︎

SOLID-принципы. Введение в ООП на Python.

Basics of Multithreading in Python
▶︎

Basics of Multithreading in Python

ПОЧЕМУ джунам нужно знать ТАК МНОГО и что вообще нужно знать?
▶︎

ПОЧЕМУ джунам нужно знать ТАК МНОГО и что вообще нужно знать?