Adafruit_CircuitPython_Pathlib/examples/pathlib_globtest.py
foamyguy 3aa6b4ce7a
Some checks failed
Build CI / test (push) Has been cancelled
fix glob, add globtest example
2025-04-23 10:09:27 -05:00

9 lines
215 B
Python

# SPDX-FileCopyrightText: Copyright (c) 2025 Tim Cocks for Adafruit Industries
#
# SPDX-License-Identifier: MIT
from adafruit_pathlib import Path
p = Path("/lib")
for file in p.glob("adafruit_*"):
print(file)