.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "gallery2/plot_output2.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code .. rst-class:: sphx-glr-example-title .. _sphx_glr_gallery2_plot_output2.py: ============================= Standard Output (second time) ============================= This example captures the stdout and includes it in the example. If output is too long it becomes automatically framed into a text area. .. GENERATED FROM PYTHON SOURCE LINES 10-14 .. code-block:: default print('We print something on the standard output.') print("A couple of lines.") .. rst-class:: sphx-glr-script-out .. code-block:: none We print something on the standard output. A couple of lines. .. GENERATED FROM PYTHON SOURCE LINES 15-16 One line out .. GENERATED FROM PYTHON SOURCE LINES 16-19 .. code-block:: default print('one line out') .. rst-class:: sphx-glr-script-out .. code-block:: none one line out .. GENERATED FROM PYTHON SOURCE LINES 20-21 Two lines out .. GENERATED FROM PYTHON SOURCE LINES 21-24 .. code-block:: default print('one line out') print('second line out') .. rst-class:: sphx-glr-script-out .. code-block:: none one line out second line out .. rst-class:: sphx-glr-timing **Total running time of the script:** ( 0 minutes 0.006 seconds) .. _sphx_glr_download_gallery2_plot_output2.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_output2.py ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_output2.ipynb ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_