def convert_table_list_to_str(table):
    table_str = ""
    table = copy.deepcopy(table)
    for row in table:
        if SEPARATOR_PATTERN.match(row[0]):
            row[0] = row[0][1:]  # Remove the mark added in reformat_table_list
            row_str = "+"
            for col_str in row:
                row_str += col_str + "+"
        else:
            row_str = "|"
            for col_str in row:
                row_str += " " + col_str + " " + "|"
        table_str += row_str + "\n"
    return table_str[:-1]
Convert the python list to str for outputing.
dataset/ETHPy150Open demon386/SmartMarkdown/table.py/convert_table_list_to_str