take attributes from objet to new object python code example
Example: python object with attributes
class Object(object):
pass
a = Object()
a.somefield = somevalue
class Object(object):
pass
a = Object()
a.somefield = somevalue