Andy Carnevale on TIL
Blog posts tagged TIL
View all tags
Create Python Enum Classes Starting from a Custom Value
How to create Python Enum classes starting from a specific value. Use Enum's auto() and customize enumerations. Example using Pygame custom event handling.