def handleTriggers(args=()):
try:
function() # How do i pass the args into the function here?
except TypeError:
function() # Here i just call the function if it takes no arguments
This is a simplified version of my code, i essentially have a bunch of functions that will be called from the handleTriggers function which decides which one to call. If i give the function any arguments i want to parse it into the next function. But i dont want to directly parse the args variable, i want to parse the arguments inside the args variable ๐ Thanks in advance ๐