There is a class Timer to which I am now sending a function in a similar way:
t = Timer(3.0, self.clPC4), def clPC4(self): ... How can I pass a function as an argument without creating it, for example in JavaScript, I would pass this function like this:
timer(3.0, function() { ... }); Is there something similar in Python?