Python: run every method in ABC order

CodeMaven

examples/python/run_every_method.py

python - run every method (in abc order)
method_list = [func for func in dir(self) if callable(getattr(self, func)) and func != "Run"]
for method in method_list:
  eval("self." + method + "()")



Author

Gabor Szabo (szabgab)

Gabor Szabo, the author of the Python Maven web site.

Gabor Szabo