def _len_cell(self, cell):
        """Return the width of the cell

        Special characters are taken into account to return the width of the
        cell, such like newlines and tabs
        """

        cell_lines = cell.split('\n')
        maxi = 0
        for line in cell_lines:
            length = 0
            parts = line.split('\t')
            for part, i in zip(parts, range(1, len(parts) + 1)):
                length = length + len(part)
                if i < len(parts):
                    length = (8/length + 1) * 8
            maxi = max(maxi, length)
        return maxi
dataset/ETHPy150Open mesosphere/chronos-utils/lib/texttable/texttable.py/Texttable._len_cell/swapped operands of `/`