Dear Tutors,
I would like to make a new class instance, where
the intance attributes coming from the kwargs hash.
class ADUser:
def __init__(self, **kwargs):
for key in kwargs.keys():
self.key = kwargs[k]
a = ADUser(name='papa')
It isn't working :(
Yours sincerely,
______________________________
Janos Juhasz