Is there a way to expand a Python tuple into a function - as actual parameters?
For example, here expand() does the magic:
expand()
some_tuple =
myfun(*some_tuple) does exactly what you request. The * operator simply unpacks the tuple (or any iterable) and passes them as the positional arguments to the function. Read more about unpacking arguments.
myfun(*some_tuple)
*