Python: call function with default arguments that come before positional arguments

Viewed 2944

For example, I'd like to do something like: greet(,'hola'), where greet is:

def greet(person='stranger', greeting='hello')

This would help greatly for testing while writing code

2 Answers
Related