def convert(self, out): self.preprocess() data = self.parse() partitioner = Partition(data, out) partitioner.process()