Tee.write¶
- Tee.write(message)[source]¶
This method dispatches to both the file write method and stdout or stderr depending on what was selected at initialization for the
redirect
parameter.- Parameters:
message (str) – The message to print
- Raises:
ValueError – If close method was called prior to this call
- Return type:
None