def strlist_with_or(alist):
    """Return comma separated string, and last entry appended with ' or '."""
    if len(alist) > 1:
        return '%s or %s' % (', '.join(alist[:-1]), alist[-1])
    return ', '.join(alist)
