bundles / IPython 9.2.0 / IPython / utils / io / Tee
class
IPython.utils.io:Tee
Signature
class Tee(file_or_name, mode = w, channel = stdout)Members
Summary
A class to duplicate an output stream to stdout/err.
Extended Summary
This works in a manner very similar to the Unix 'tee' command.
When the object is closed or deleted, it closes the original file given to it for duplication.
Aliases
IPython.utils.io.Tee