Sorry if this is dumb. I am looking for a clean way to do this :
addQuery(slop=33,win=2) //here we could have any new arg like xyz="arg"
def addQuery(unknown_arg):
print(unknown_arg.slop, unknown_arg.win) //will check and print only if slop/win exist in arg list
I could send dic like : addQuery({slop:33,win:2})
and access with dic["slop"] which is ugly.
I want a tuple like solution. (a=1,b=2). I can't list all possible arguments(>20).
The argument to this function could be different each call.