In python how can we create a new object without having a predefined Class and later dynamically add properties to it ?
example:
dynamic_object = Dynami
Just define your own class to do it:
class Expando(object): pass ex = Expando() ex.foo = 17 ex.bar = "Hello"