dynamically define class python code example
Example: python dynamic object
my_dict = {} # empty dict instance
my_dict["foo"] = "bar"
my_dict["num"] = 42
my_dict = {} # empty dict instance
my_dict["foo"] = "bar"
my_dict["num"] = 42