import enum
class MyEnumeration(enum.Enum):
"""
Represent an enumeration and its associated values
"""
VALUE1 = 1
VALUE2 = 2
Create Enumeration
Python public recipesCreate a generic enumeration
0 Comments
Add Comment
Log in to add a comment