Skip to content Skip to sidebar Skip to footer
Showing posts with the label Dynamic Class Creation

What Is The Advantage In Using `exec` Over `type()` When Creating Classes At Runtime?

I want to dynamically create classes at runtime in python. For example, I want to replicate the cod… Read more What Is The Advantage In Using `exec` Over `type()` When Creating Classes At Runtime?