bundles / IPython 9.5.0 / IPython / utils / capture / CapturedIO
class
IPython.utils.capture:CapturedIO
source: /IPython/utils/capture.py :62
Signature
class CapturedIO ( stdout , stderr , outputs = None ) Members
Summary
Simple object for containing captured stdout/err and rich display StringIO objects
Extended Summary
Each instance c has three attributes:
c.stdoutstandard output as a stringc.stderrstandard error as a stringc.outputs: a list of rich display outputs
Additionally, there's a c.show() method which will print all of the above in the same order, and can be invoked simply via c().
Aliases
-
IPython.utils.capture.CapturedIO