Get next enumerator constant/property
问题 Lets's say I have an enumerator, is it possible to get the property that follows? So if I had today=Days.Sunday would I be able to do something like tomorrow=today.next() ? example: class Days(Enum): Sunday = 'S' Monday = 'M' ... Saturday = 'Sa' I know I could use tuples (like below) to do something like tomorrow=today[1] , but I was hoping there was something built in or more elegant. class Days(Enum): Sunday = ('S','Monday') Monday = ('M','Tuesday') ... Saturday = ('Sa','Sunday') 回答1: