Hi Whats the best way to reset class attributes in Python.
I have a class whichs has about 20 class attributes, in my init I have
class MyClass:
def __init__(self)
self.time=0
self.pos=0
self.vel=0
self.acc=0
self.rot=0
self.dyn=0
.
These need to be reset on each iteration of my program, what is the neatest way of doing this rather than setting to zero as shown above
Thanks