def printText(self):
        header = []
        data = self.getData()

        # Get header
        for word in self.print_format:
            header.append(word)

        # Print everthing
        col_width = max(len(s) for s in list(itertools.chain.from_iterable(data))) + 2
        header_str = "Rounds\t"
        data_str = ""
        current_row = 0

        for entry in header:
            header_str += entry.ljust(col_width)
        for row in data:
            data_str += str(current_row) + '\t'
            current_row += 1
            for entry in row:
                data_str += entry.ljust(col_width)
            data_str += '\n'

        print(header_str)
        print("-"*len(header_str))
        print(data_str)
        print("Weight: " + str(int(self.weight, 16)))
        return
Called when a items retrieval request has been received.
dataset/ETHPy150Open kste/cryptosmt/cryptanalysis/diffchars.py/DifferentialCharacteristic.printText--crossover with--dataset/ETHPy150Open ralphm/wokkel/wokkel/iwokkel.py/IPubSubService.items