Python's enum - Start Building Enumerations
Real Python Real Python
187K subscribers
2,146 views
0

 Published On Feb 1, 2024

This is a preview of the video course "Building Enumerations With Python’s enum". Some programming languages, such as Java and C++, have built-in support for a data type called enumerations, commonly referred to as enums. Enums enable you to create sets of logically related constants that you can access through the enumeration itself. Unlike these languages, Python doesn’t have a dedicated syntax for enums. However, the Python standard library provides an enum module that offers support for enumerations through the Enum class.

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

The rest of the course covers:

- Customizing enumeration classes by adding new functionalities
- Applying practical examples to gain a deeper understanding of the benefits of using enumerations
- Exploring other specific enumeration types available in the enum module, such as IntEnum, IntFlag, and Flag

show more

Share/Embed