I need to run a python program and give it argument that are function names in the code to execute. I can do this by catching the argument by using sys.argv and execute the appropriate functions but I would like to do this automatically since I have a lot functions in my code. For example, when I run
my_program f1 f2 f3
My_program should execute the function named 'f1' and then 'f2', etc. I know this might not sound "pythonic" or even "programmer's way" but I am curious if there is a way.