<Enum.A: 1>. Instead you need to do: a = Enum1.A.value print(a) ... In fact, even better, since in Python Enum class is huge and heavy ...
確定! 回上一頁