Note
Click here to download the full example code or to run this example in your browser via Binder
Constrained Text output frame¶
This example captures the standard output and includes it in the example. If output is too long it becomes automatically framed into a text area.
# Code source: Óscar Nájera
# License: BSD 3 clause
print('This is a long test Output\n' * 50)
Out:
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
This is a long test Output
One line out
print('one line out')
Out:
one line out
Total running time of the script: ( 0 minutes 0.001 seconds)
Download Python source code: plot_strings.py