Skip to content

piko::tutorial

python __setattr__

How to derive from an enum in Python?
Posted in
  • Python

How to derive from an enum in Python?

Welcome to the next pikoTutorial ! Recently I’m experimenting 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 say we design an interface for…

How to derive from an enum in Python? Read More
    Powered by WordPress and HybridMag.

    Resources

    • Privacy Policy
    • Terms of Use
    • Refund policy