擅长:python、mysql、java
<p>到<a href="https://docs.python.org/3/library/enum.html#programmatic-access-to-enumeration-members-and-their-attributes" rel="noreferrer">access the members of enums programatically</a>:</p>
<pre><code>>>> Example(ex_variable).name
'one'
</code></pre>