import glob


def glob_as_args(glob_str, **kwargs):
    """Outputs a file glob as a verbose space-separated argument string for maximum crossplatforminess.

    Arguments:
        glob_str (str): A valid glob string used as the first argument to glob.glob
        kwargs (dict): Keyword arguments to pass to glob.glob
    """
    return " ".join(glob.glob(glob_str, **kwargs))