.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "auto_examples/run_all_notebooks.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_auto_examples_run_all_notebooks.py: Execute all notebooks in the `./examples directory. .. GENERATED FROM PYTHON SOURCE LINES 2-10 .. code-block:: Python from pathlib import Path import papermill as pm for nb in Path("./examples").glob("*.ipynb"): pm.execute_notebook( input_path=nb, output_path=nb # Path to save executed notebook ) .. _sphx_glr_download_auto_examples_run_all_notebooks.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: run_all_notebooks.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: run_all_notebooks.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: run_all_notebooks.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_