1
I used the type function on an object and the returned was: <enum 'Button'>
.
What does that mean?
1
I used the type function on an object and the returned was: <enum 'Button'>
.
What does that mean?
4
Enum is basically a list of constant values. The use of enums makes it easier for the programmer to access information. Enum automatically or manually associates a numerical value with a string. See here.
Browser other questions tagged python function enums
You are not signed in. Login or sign up in order to post.