def output(self): from Parser import parseSingleLinkedList for o in parseSingleLinkedList(open(self.outputPath)): yield o[0]
def input(self): from Parser import parseSingleLinkedList return parseSingleLinkedList(open(self.inputPath))