>>> Example(1).name'one'
also see the Python docs.
To access the members of enums programatically:
>>> Example(ex_variable).name'one'