

.. _sphx_glr_auto_examples_no_output_just_code.py:


A short Python script
=====================

A script that is not executed when gallery is generated but nevertheless
gets included as an example.
Doing a list



.. code-block:: python


    # Code source: Óscar Nájera
    # License: BSD 3 clause
    from __future__ import print_function
    print([i for i in range(10)])

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



.. only :: html

 .. container:: sphx-glr-footer


  .. container:: sphx-glr-download

     :download:`Download Python source code: just_code.py <just_code.py>`



  .. container:: sphx-glr-download

     :download:`Download Jupyter notebook: just_code.ipynb <just_code.ipynb>`


.. only:: html

 .. rst-class:: sphx-glr-signature

    `Gallery generated by Sphinx-Gallery <https://sphinx-gallery.readthedocs.io>`_
