I have
class Foo(): function bar(): pass function foobar(): pass
Rather than executing each function one by one as
No. You can access Foo.__dict__, and call each value in turn (catching errors for non-callable members), but the order is not preserved.
Foo.__dict__
for callable in Foo.__dict__.values(): try: callable() except TypeError: pass
This assumes none of the functions take parameters, as in your example.