Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class A:
- def __init__(self, **kwargs):
- self.__dict__.update(kwargs)
- a=A(chce_taki_atrybut=o_takiej_wartosci, inny_z_kosmosu_atrybut=funkcja_na_przyklad)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement