def _render_cell(self, row, column, cell_format):
        try:
            cell = row[column]
        except IndexError:
            cell = ''

        width = self._column_widths[column]
        if isinstance(cell, TableCell) and cell.colspan > 1:
            # add the width of the following columns(numbers of colspan).
            for next_column in range(column + 1, column + cell.colspan):
                width += self._get_column_separator_width() + self._column_widths[next_column]

        # Encoding fix
        width += len(cell) - Helper.len(cell)

        style = self.get_column_style(column)

        if isinstance(cell, TableSeparator):
            self._output.write(style.border_format % (style.horizontal_border_char * width))
        else:
            width += Helper.len(cell) - Helper.len_without_decoration(self._output.get_formatter(), cell)
            content = style.cell_row_content_format % cell
            self._output.write(cell_format % getattr(content, style.pad_type)(width, style.padding_char))
Get movie chapter.
dataset/ETHPy150Open sdispater/cleo/cleo/helpers/table.py/Table._render_cell--crossover with--dataset/ETHPy150Open disqus/playa/playa/lib/vlc.py/libvlc_media_player_get_chapter