I have a lot of possible functions I can call, however I don't always need to call every function.
Is there a way I can pass a list of functions I would like to call, then dynamically call them?
In other words:
def GetDate():
..does stuff..
return Date
def GetTime():
..does stuff..
return Time
def GetLocation():
..does stuff..
return Location
List_of_functions_to_call = ["GetDate","GetTime"]
def Call_functions(List = List_of_Functions_to_call):
for i in List:
...????...
..# Function would then call GetDate() and GetTime()