(self, header, line)
Outputs TCL/C style strings using current separator
Outputs TCL/C style strings using current separator
Outputs TCL / C style strings using current separator
def output_tcl(self, header, line):
        "Outputs TCL/C style strings using current separator"
        # In theory you could paste the output into your source ...
        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")
def output_tcl ( self , header , line ) : # In theory you could paste the output into your source ... 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" )