Jupyter Shell (xonsh.jupyter_shell
)¶
An interactive shell for the Jupyter kernel.
-
class
xonsh.jupyter_shell.
StdJupyterRedirect
(name, kernel, parent_header=None)[source]¶ Redirects a standard I/O stream to the Jupyter kernel.
Parameters: name : str
The name of the buffer in the sys module, e.g. ‘stdout’.
kernel : XonshKernel
Instance of a Jupyter kernel
parent_header : dict or None, optional
parent header information to pass along with the kernel
-
encoding
¶ The encoding of the stream
-
errors
¶ The encoding errors of the stream
-
newlines
¶ The newlines of the standard buffer.
-