Working With Constants in Python

Опубликовано: 04 Июль 2024
на канале: Real Python
1,575
47

This is a preview of the video course, "Defining Python Constants for Code Maintainability." In programming, the term constant refers to names representing values that don’t change during a program’s execution. Constants are a fundamental concept in programming, and Python developers use them in many cases. However, Python doesn’t have a dedicated syntax for defining constants. In practice, Python constants are just variables that never change.

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

The rest of the course covers:
Properly define constants in Python
Identify some built-in constants
Use constants to improve your code’s readability, reusability, and maintainability
Apply different approaches to organize and manage constants in a project
Use several techniques to make constants strictly constant in Python


На этой странице сайта вы можете посмотреть видео онлайн Working With Constants in Python длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Real Python 04 Июль 2024, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 1,575 раз и оно понравилось 47 зрителям. Приятного просмотра!