pylab_ml.common.common.choice
- choice(arg, myargs)[source]
Check if the argument is in the list of valid arguments.
- Parameters:
arg (The argument to check. (string))
myargs (The list of valid arguments. (string or list of strings))
- Returns:
True if the argument is in the list of valid arguments, False otherwise.
- Return type:
bool