def list2str(lst, short=True):
    """ Returns a string representing a list """

    try:
        if short:
            return ', '.join(lst)
        else:
            return str(lst)
    except:
        if short:
            return ""
        else:
            return "[]"