I have a Python function which requires a number of parameters, one of which is the type of simulation to perform. For example, the options could be \"solar\", \"view\" or \"bot
You can use optional (keyword) arguments like this
def func(a, b, c, **kw): if kw.get('do_solar'): # Do Solar if kw.get('do_view'): # Do view