Is it possible to implement enumerations in Python with string constants (or any other arbitrary data type). I would like to something as
class Color(Enum):
black = "black as night"
white = "white as snow"
green = "green as gras"
The reason, not hard to guess, is to use the constants of the enumeration directly as strings.