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