I want to have a function that I can call it with or without an argument, using another function to get the argument value in case it is missing.
I already tried this:
def GetValue():
...
def Process (value = GetValue):
...
I tried to call the function Process
with Process()
and Process(105)
but it called the function GetValue
either way.