python add attribute to class instance

36

setattr(objectClass, "newAttribute", "new attr")

Comments

Submit
0 Comments