How To Print Combined Flag In The Same Way As Name Property
In Python, you can use the Flag class to represent combinations of values. class Color(Flag): Red = auto() Green = auto() Blue = auto() White = Red | Green | Blue
Solution 1:
Unfortunately, no. But this sounds like a good enhancement request.
Post a Comment for "How To Print Combined Flag In The Same Way As Name Property"