---
title: "Discussion on \"How to derive from an enum in Python?\" | Hashnode"
description: "Discussion on \"How to derive from an enum in Python?\". Welcome to the next pikoTutorial!\nRecently I'm experimenting a lot with different ways of error handling in Python and I stumbled upon a use case in which it would be very helpful to create an enum by deriving from a different enum.\nUse case\nLet's sa..."
url: "https://hashnode.com/posts/how-to-derive-from-an-enum-in-python/68a421045345733ff0c4cc73"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to derive from an enum in Python?](https://pikotutorial.hashnode.dev/how-to-derive-from-an-enum-in-python?utm_source=hashnode&utm_medium=feed)

Welcome to the next pikoTutorial! Recently I'm experimenting a lot with different ways of error handling in Python and I stumbled upon a use case in which it would be very helpful to create an enum by deriving from a different enum. Use case Let's sa...

Aug 19, 2025 · 10 min read · pikotutorial.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#python3](https://hashnode.com/tag/python3)
-   [#enum](https://hashnode.com/tag/enum)
-   [#pikotutorial](https://hashnode.com/tag/pikotutorial)

## Written by

[pikoTutorial](https://hashnode.com/@pikotutorial)

@pikotutorial

  
[View profile](https://hashnode.com/@pikotutorial)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
