|
| https://realpython.com/ |
| Start Here | https://realpython.com/start-here/ |
|
Learn Python
| https://realpython.com/courses/python-enum/continue/ |
| Python Tutorials →In-depth articles and video courses | https://realpython.com/search?kind=article&kind=course&order=newest |
| Learning Paths →Guided study plans for accelerated learning | https://realpython.com/learning-paths/ |
| Quizzes & Exercises →Check your learning progress | https://realpython.com/quizzes/ |
| Browse Topics →Focus on a specific area or skill level | https://realpython.com/tutorials/all/ |
| Community Chat →Learn with other Pythonistas | https://realpython.com/community/ |
| Office Hours →Live Q&A calls with Python experts | https://realpython.com/office-hours/ |
| Podcast →Hear what’s new in the world of Python | https://realpython.com/podcasts/rpp/ |
| Books →Round out your knowledge and learn offline | https://realpython.com/products/books/ |
| Reference →Concise definitions for common Python terms | https://realpython.com/ref/ |
| Code Mentor →BetaPersonalized code assistance & learning tools | https://realpython.com/mentor/ |
| Unlock All Content → | https://realpython.com/account/join/ |
|
More
| https://realpython.com/courses/python-enum/continue/ |
| Learner Stories | https://realpython.com/learner-stories/ |
| Python Newsletter | https://realpython.com/newsletter/ |
| Python Job Board | https://www.pythonjobshq.com |
| Meet the Team | https://realpython.com/team/ |
| Become a Tutorial Writer | https://realpython.com/write-for-us/ |
| Become a Video Instructor | https://realpython.com/become-an-instructor/ |
| Search | https://realpython.com/search |
| https://realpython.com/search |
| Join | https://realpython.com/account/join/ |
| Sign‑In | https://realpython.com/account/login/?next=%2Fvideos%2Fpython-enum-overview%2F |
| https://realpython.com/courses/python-enum/#team |
| Building Enumerations With Python's enum | https://realpython.com/courses/python-enum/ |
| Darren Jones | https://realpython.com/courses/python-enum/#team |
| Recommended Tutorial | https://realpython.com/python-enum/ |
| Course Slides (.pdf) | https://realpython.com/courses/python-enum/downloads/python-enum-slides/ |
| Sample Code (.zip) | https://realpython.com/courses/python-enum/downloads/python-enum-code/ |
| Ask a Question | https://realpython.com/courses/python-enum/continue/#discussion |
| https://realpython.com/feedback/survey/course/python-enum/liked/?from=lesson-title |
| https://realpython.com/feedback/survey/course/python-enum/disliked/?from=lesson-title |
| Contents | https://realpython.com/courses/python-enum/continue/#description |
| Transcript | https://realpython.com/courses/python-enum/continue/#transcript |
| Discussion | https://realpython.com/courses/python-enum/continue/#discussion |
| standard library | https://docs.python.org/3/library/index.html |
| object-oriented programming | https://realpython.com/python3-object-oriented-programming/ |
| inheritance | https://realpython.com/inheritance-composition-python/ |
| Sample Code (.zip) | https://realpython.com/courses/python-enum/downloads/python-enum-code/ |
| Course Slides (.pdf) | https://realpython.com/courses/python-enum/downloads/python-enum-slides/ |
| 00:00 | https://realpython.com/courses/python-enum/continue/#t=0.735 |
| Building enumerations with Python’s enum. | https://realpython.com/courses/python-enum/continue/#t=0.735 |
| 00:04 | https://realpython.com/courses/python-enum/continue/#t=4.665 |
| Some programming languages such as Java | https://realpython.com/courses/python-enum/continue/#t=4.665 |
| and C++ include syntax | https://realpython.com/courses/python-enum/continue/#t=6.795 |
| that supports a data type known as enumerations | https://realpython.com/courses/python-enum/continue/#t=8.675 |
| or just enums. | https://realpython.com/courses/python-enum/continue/#t=11.495 |
| This data type allows you to create sets | https://realpython.com/courses/python-enum/continue/#t=13.515 |
| of semantically related constants that you can access | https://realpython.com/courses/python-enum/continue/#t=15.445 |
| through the enumeration itself. | https://realpython.com/courses/python-enum/continue/#t=18.205 |
| 00:21 | https://realpython.com/courses/python-enum/continue/#t=21.015 |
| Python doesn’t have a dedicated syntax for enums, | https://realpython.com/courses/python-enum/continue/#t=21.015 |
| but the Python Standard Library has an enum module | https://realpython.com/courses/python-enum/continue/#t=24.135 |
| that supports enumerations through the Enum class. | https://realpython.com/courses/python-enum/continue/#t=26.795 |
| 00:30 | https://realpython.com/courses/python-enum/continue/#t=30.635 |
| If you come from a language with enumerations | https://realpython.com/courses/python-enum/continue/#t=30.635 |
| and you are used to working with them, | https://realpython.com/courses/python-enum/continue/#t=32.755 |
| or if you just want to learn how | https://realpython.com/courses/python-enum/continue/#t=34.315 |
| to use enumerations in Python, then this course is for you. | https://realpython.com/courses/python-enum/continue/#t=35.535 |
| 00:39 | https://realpython.com/courses/python-enum/continue/#t=39.815 |
| In this course, you’ll learn how to create enumerations | https://realpython.com/courses/python-enum/continue/#t=39.815 |
| of constants using Python’s Enum class, work | https://realpython.com/courses/python-enum/continue/#t=43.195 |
| with enumerations and their members in Python, | https://realpython.com/courses/python-enum/continue/#t=46.675 |
| customize enumeration classes with new functionalities | https://realpython.com/courses/python-enum/continue/#t=49.625 |
| and code practical examples | https://realpython.com/courses/python-enum/continue/#t=53.255 |
| to understand why you would use enumerations. | https://realpython.com/courses/python-enum/continue/#t=54.715 |
| 00:57 | https://realpython.com/courses/python-enum/continue/#t=57.925 |
| In addition, you’ll explore other specific enumeration types | https://realpython.com/courses/python-enum/continue/#t=57.925 |
| that live in the enum module | https://realpython.com/courses/python-enum/continue/#t=60.935 |
| that will help you create specialized enums. | https://realpython.com/courses/python-enum/continue/#t=62.415 |
| 01:06 | https://realpython.com/courses/python-enum/continue/#t=66.775 |
| To follow along with this course, you should be familiar | https://realpython.com/courses/python-enum/continue/#t=66.775 |
| with object-oriented programming and inheritance in Python. | https://realpython.com/courses/python-enum/continue/#t=69.075 |
| After finishing this course, you may want | https://realpython.com/courses/python-enum/continue/#t=72.885 |
| to look deeper into these two subjects, | https://realpython.com/courses/python-enum/continue/#t=74.715 |
| and Real Python has you covered | https://realpython.com/courses/python-enum/continue/#t=76.415 |
| with this course on object-oriented programming, | https://realpython.com/courses/python-enum/continue/#t=78.105 |
| 01:22 | https://realpython.com/courses/python-enum/continue/#t=82.255 |
| and this one on inheritance. | https://realpython.com/courses/python-enum/continue/#t=82.255 |
| 01:26 | https://realpython.com/courses/python-enum/continue/#t=86.415 |
| Any code that you see running in the REPL will be using | https://realpython.com/courses/python-enum/continue/#t=86.415 |
| the bpython interpreter. | https://realpython.com/courses/python-enum/continue/#t=88.775 |
| This is a replacement Python interpreter | https://realpython.com/courses/python-enum/continue/#t=90.745 |
| that offers a number of enhancements, | https://realpython.com/courses/python-enum/continue/#t=92.635 |
| including code highlighting and suggestions. | https://realpython.com/courses/python-enum/continue/#t=94.115 |
| 01:36 | https://realpython.com/courses/python-enum/continue/#t=96.575 |
| But any code you see running on screen will work in the | https://realpython.com/courses/python-enum/continue/#t=96.575 |
| Python REPL, which is typically accessed by typing python | https://realpython.com/courses/python-enum/continue/#t=99.235 |
| or python3 at your terminal | https://realpython.com/courses/python-enum/continue/#t=102.255 |
| or command line prompt. While enumerations | https://realpython.com/courses/python-enum/continue/#t=104.175 |
| were introduced in Python | https://realpython.com/courses/python-enum/continue/#t=108.585 |
| 3.4, parts | https://realpython.com/courses/python-enum/continue/#t=109.715 |
| of this course rely on language features introduced in | https://realpython.com/courses/python-enum/continue/#t=111.225 |
| Python 3.11, so you’ll need to be running that version | https://realpython.com/courses/python-enum/continue/#t=113.945 |
| or later to run all of the code examples seen. | https://realpython.com/courses/python-enum/continue/#t=117.085 |
| 02:01 | https://realpython.com/courses/python-enum/continue/#t=121.935 |
| So now you know what’s going to be covered. | https://realpython.com/courses/python-enum/continue/#t=121.935 |
| Let’s get started. | https://realpython.com/courses/python-enum/continue/#t=123.925 |
| Become a Member | https://realpython.com/account/join/ |
| Overview | https://realpython.com/courses/python-enum/ |
| https://realpython.com/videos/enumerations-intro/ |
|
Building Enumerations With Python's enum (Overview) 02:06
| https://realpython.com/videos/python-enum-overview/ |
|
Getting to Know Enumerations 03:41
| https://realpython.com/videos/enumerations-intro/ |
|
Creating Enumerations in Python 05:28
| https://realpython.com/lessons/create-python-enum/ |
|
Creating More Enumerations 02:53
| https://realpython.com/lessons/more-enumeration-creation/ |
|
Creating Enumerations With the Functional API 05:26
| https://realpython.com/lessons/functional-api-enumeration-creation/ |
|
Using Automatic Values, Aliases, and Unique Values 03:58
| https://realpython.com/lessons/automatic-aliases-unique/ |
|
Working With Enumerations in Python 04:37
| https://realpython.com/lessons/work-enumerations-python/ |
|
Using Enumerations in if and match Statements 02:55
| https://realpython.com/lessons/enumerations-if-match-statements/ |
|
Comparing and Sorting Enumerations 05:52
| https://realpython.com/lessons/comparing-sorting-enumerations/ |
|
Extending Enumerations With New Behavior 06:51
| https://realpython.com/lessons/extending-enumerations-behavior/ |
|
Exploring Other Enumeration Classes 07:43
| https://realpython.com/lessons/other-enumeration-classes/ |
|
Using Enumerations: Two Practical Examples 07:07
| https://realpython.com/lessons/enumeration-examples/ |
|
Building Enumerations With Python's enum (Summary) 01:20
| https://realpython.com/lessons/python-enum-summary/ |
| Privacy Policy | https://realpython.com/privacy-policy/ |
Viewport: width=device-width, initial-scale=1, shrink-to-fit=no, viewport-fit=cover