How to copy all properties of an object to another object, in Python?

Try destination.__dict__.update(source.__dict__).

Leave a Comment