This will return the line number of the indicated function in the stack
    :param width:
    :param function_index: int of how many frames back the program 
                           should look (2 will give the parent of the caller)
    :param function_name:  str of what function to look for (should 
                           not be used with function_index
    :return                str of the current linenumber

def function_linenumber(function_index=1, function_name=None, width=5):
    """
    This will return the line number of the indicated function in the stack
    :param width:
    :param function_index: int of how many frames back the program 
                           should look (2 will give the parent of the caller)
    :param function_name:  str of what function to look for (should 
                           not be used with function_index
    :return                str of the current linenumber
    """
    frm = func_frame(function_index + 1, function_name)
    if width is None:
        return frm._f_lineno
    return str(frm.f_lineno).ljust(width)