def __init__(self, *args, **kwargs): OutputNode.__init__(self, *args, **kwargs) self.outstream = sys.stdout self.input = InterfaceStream(self, 'input', default='EOF', type=Interface.INPUT, doc="standard output")
def __init__(self, *args, **kwargs): OutputNode.__init__(self, *args, **kwargs) self.filepath = InterfaceValue(self, 'filepath', default='', type=Interface.PARAMETER, slot=False, doc="file to write") self.input = InterfaceStream(self, 'input', default='EOF', type=Interface.INPUT, doc="input to write")