def set_output(self, outfile):
if self._orig_stdout:  <EOL><INDENT>sys.stdout = self._orig_stdout<EOL><DEDENT>self._stream = outfile<EOL>sys.stdout = _LineWriter(self, self._stream, self.default)<EOL>
Set's the output file, currently only useful with context-managers.

            Note:
                This function is experimental and may not last.