def get_arg(args, num):
    """Returns the num value from args
    without throwing an annoying exception
    when num is too large.

    >>> get_arg([0], 0)
    0
    >>> get_arg([0], 1)
    ''
    >>> get_arg([0, 1, 2, 3], 5)
    ''
    >>> get_arg([0, 1, 2, 3], 2)
    2

    :param num:
    :return: string arg value
    """
    if len(args) >= num + 1:
        return args[num]
    else:
        return ''
