class param:
def __init__(self, **kwargs):
for key, value in kwargs.items():
setattr(self, key, value)
= param(a=2, b = 3)
p print('a =', p.a)
a = 2
print('b =', p.b)
b = 3
We use cookies
We use cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.