Prints the values to a stream, or to sys.stdout by default. Optional keyword arguments: file: a file-like object (stream); defaults to the current sys.stdout. sep: string inserted between values, default a space. end: string appended after the last value, default a newline. flush: whether to forcibly flush the stream. Type: builtin_function_or_method
Type: OutStream String form: <ipykernel.iostream.OutStream object at 0x7efdb86b3c40> File: /usr/local/miniconda/lib/python3.9/site-packages/ipykernel/iostream.py Docstring: A file like object that publishes the stream to a 0MQ PUB socket.
Output is handed off to an IO Thread Init docstring: Parameters ---------- name : str {'stderr', 'stdout'} the name of the standard stream to replace watchfd : bool (default, True) Watch the file descripttor corresponding to the replaced stream. This is useful if you know some underlying code will write directly the file descriptor by its number. It will spawn a watching thread, that will swap the give file descriptor for a pipe, read from the pipe, and insert this into the current Stream. isatty : bool (default, False) Indication of whether this stream has termimal capabilities (e.g. can handle colors)