bundles / IPython 9.10.0 / IPython / utils / io / Tee
class
IPython.utils.io:Tee
source: /IPython/utils/io.py :22
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