A short Python script

This demonstrates an example .py file that is not executed when gallery is generated (see Parsing and executing examples via matching patterns) but nevertheless gets included as an example. Note that no output is capture as this file is not executed.

# 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)

Estimated memory usage: 0 MB

Gallery generated by Sphinx-Gallery