Quantcast
Channel: Planet Python
Viewing all articles
Browse latest Browse all 22462

Doug Hellmann: enum – Enumeration Type — PyMOTW 3

$
0
0
The enum module defines an enumeration type with iteration and comparison capabilities. It can be used to create well-defined symbols for values, instead of using literal integer or strings. Read more… This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.

Viewing all articles
Browse latest Browse all 22462

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>