ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Single and Double Underscore Naming Conventions in Python: Conventions, Interfaces, & Constants

python

realpython

underscores

naming

convention

Автор: Real Python

Загружено: 2025-02-27

Просмотров: 884

Описание: This is a preview of the video course, "Single and Double Underscore Naming Conventions in Python". Python has a few important naming conventions that are based on using either a single or double underscore character (_). These conventions allow you to differentiate between public and non-public names in APIs, write safe classes for subclassing purposes, avoid name clashes, and more. Following and respecting these conventions allows you to write code that looks Pythonic and consistent in the eyes of other Python developers. This skill is especially useful when you’re writing code that’s intended for other developers to work with.

This is a portion of the complete course, which you can find here:
https://realpython.com/courses/single...

The rest of the course covers:
Creating a Helper Function
Avoiding a Blunder
Counting With a Variable
Moving Up to the Module
Creating a Package
Discussing Class Objects
Summarizing Examples
Importing With a Wildcard
Mangling Member Names
Learning About Dunder Methods
Avoiding Conflicts
Inspecting Other Uses

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Single and Double Underscore Naming Conventions in Python: Conventions, Interfaces, & Constants

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Пишем Микросервисы на Python + Брокер RabbitMQ

Пишем Микросервисы на Python + Брокер RabbitMQ

Protocols vs ABCs in Python - When to Use Which One?

Protocols vs ABCs in Python - When to Use Which One?

5 C# Naming Conventions I Wish Everyone Followed

5 C# Naming Conventions I Wish Everyone Followed

Starting With DuckDB and Python: An Introduction & Using DuckDB With Databases

Starting With DuckDB and Python: An Introduction & Using DuckDB With Databases

How to use Sphinx to generate elegant documentation

How to use Sphinx to generate elegant documentation

Трамп объявил о прекращении огня / Конец российского наступления?

Трамп объявил о прекращении огня / Конец российского наступления?

Итоги дня | Обыски у главы МВД | Взрыв в центре Москвы | Кремль про конфликт с Баку

Итоги дня | Обыски у главы МВД | Взрыв в центре Москвы | Кремль про конфликт с Баку

Anthony Shaw - Wily Python: Writing simpler and more maintainable Python - PyCon 2019

Anthony Shaw - Wily Python: Writing simpler and more maintainable Python - PyCon 2019

Please Master This MAGIC Python Feature... 🪄

Please Master This MAGIC Python Feature... 🪄

When to use Traits, Interfaces, and Abstract Classes in PHP

When to use Traits, Interfaces, and Abstract Classes in PHP

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]