Note

Go to the endto download the full example code or to run this example in your browser via JupyterLite or Binder.

Constrained Text output frame#

This example captures the standard output and includes it in theexample. If output is too long it becomes automaticallyframed into a text area.

# Code source: Óscar Nájera# License: BSD 3 clauseprint("This is a long test Output\n"*50)
This is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test OutputThis is a long test Output

One line out

print("one line out")
one line out

Total running time of the script: (0 minutes 0.581 seconds)

Estimated memory usage: 220 MB

Gallery generated by Sphinx-Gallery