Python doesn’t have an native method of implement an ‘enum’, but you can implement your own.
Myself, I like keeping it simple (I’ve seen some horribly complex examples on the net), something like this:
class Animal: DOG=1 CAT=2 x = Animal.DOG