I want to write a function in python that can take an arbitrary number of unnamed arguments in addition to one named argument (with a default).
For example, I want to write something like this
def myFunc(*args, optDefault=1):
But this just gives a syntax error. Is there an equivalent way to do this?