def formatter_str(formatstr):
    """
    Creates a formatter function from format string, i.e. '%s, %s' etc
    :param formatstr: The formatting string
    :return: Formatter function using formatstr
    """
    return lambda item: formatstr % item