The power of Python enums

Опубликовано: 27 Август 2024
на канале: InfoWorld
735
33

The "enum" type in Python lets you create variables constrained to a predefined range of values. Learn how this built-in Python type can be used to express the state of something, whether as a string, an integer, or some other type – and how to ensure the values you create remain consistent both inside and outside your program.




-----------------------------­---
SUBSCRIBE: http://www.youtube.com/subscription_c...
FACEBOOK:   / infoworld  
TWITTER:   / infoworld  
WEBSITE: http://www.infoworld.com/


Смотрите видео The power of Python enums онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь InfoWorld 27 Август 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 735 раз и оно понравилось 33 людям.