'Outputs TCL/C style strings using current separator'

def output_tcl(self, header, line):

    if header:
        if (not self.header):
            return
        c = self.colour
        fmt = (lambda x: ((c.header + self._fmt_c_string(x)) + c.header_))
    else:
        fmt = (lambda x: self.colour.colour_value(x, self._fmt_c_string(x)))
    self.write(self.stdout, (self.separator.join([fmt(l) for l in line]) + '\n'))
