I have a class 'CocoPart' and it is defined this way:
class CocoPart(Enum):
Wrist = 4
LShoulder = 5
LElbow = 6
LWrist = 7
RHip = 8
RKnee = 9
RAnkle = 10
LHip = 11
LKnee = 12
LAnkle = 13
REye = 14
LEye = 15
REar = 16
LEar = 17
Background = 18
These members are further manipulated. Later in the program, I need to access them using their name. How can I do it?