.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "auto_examples/list_all_files_in_test.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note You can download :ref:`below ` the full example code and run it online in `Codespaces `__ .. image:: https://github.com/codespaces/badge.svg :target: https://codespaces.new/spark-cleantech-l3/sda-copy?quickstart=1 --- .. rst-class:: sphx-glr-example-title .. _sphx_glr_auto_examples_list_all_files_in_test.py: List all data files in a specific test folder. ============================================== .. GENERATED FROM PYTHON SOURCE LINES 6-15 .. code-block:: Python from sda.api.load import list_all_files_in_test # Retrieve all files. file_paths = list_all_files_in_test("T183") print(f"Found {len(file_paths)} files. Here are the paths:") for i, path in enumerate(file_paths): print(f"{i:03}: {path}") .. _sphx_glr_download_auto_examples_list_all_files_in_test.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: list_all_files_in_test.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: list_all_files_in_test.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: list_all_files_in_test.zip `