A very common task for any script is to look for files on the system. My go to method when globbing for files in python is to use pathlib.
I setup a directory to make some examples about globbing. Here is what the directory looks like.
❯ tree . . ├── content │ ├── hello.md │ ├── hello.py │ ├── me.md │ └── you.md ├── readme.md ├── README.md ├── READMES.md └── setup.py
1 directory, 8 files
Pathlib is a standard library module available in all LTS versions of python at this point.
...
