I try to add a pause after each execution of method, there is a way to do it automatically ?
Actually i’ve something like this :
import time
def test (arg):
print arg
time.sleep(0.1)
class Foo (Object):
def __init__ (self, a, b):
self.a = a
self.b = b
time.sleep(0.1)
def printer (self, arg):
print arg
time.sleep(0.1)
Here is basically the same thing as @Fedor Gogolev’s solution,
except that this uses a class decorator instead of a metaclass.