write

TeeContext.write(data: str) None[source]

Write to buffer and original sys.stdout.

Parameters:

data (str) – String to write to stdout and buffer.