Sometimes, it is required to know the arguments that a function expects, their ordering, the default values and all the other goodies. This is especially useful when we don't have access to the source code where the function has been defined. Thankfully, Python has some nifty tricks to expose the argument list of a function in such cases.
from googlesearch import search
import inspect
print(str(inspect.signature(search)))