TeeContext
- class glotaran.utils.tee.TeeContext[source]
Bases:
objectContext manager that allows to work with string written to stdout.
This context manager behaves similar to the
teeshell command. https://www.geeksforgeeks.org/tee-command-linux-exampleCreate new
StringIObuffer and save reference to originalsys.stdout.Methods Summary
Flush values in the buffer.
Return values written to buffer.
Write to buffer and original
sys.stdout.Methods Documentation