Otherwise there are tons of tricks to get what you want. To add to the list posted in sibling:
a = vars(a) # readonly print(a.foo)
class Obj: pass; a = Obj() a.foo = 20
Otherwise there are tons of tricks to get what you want. To add to the list posted in sibling:
or