Rodrigo Girão Serrão 🐍🚀 @mathspp.com · Jan 23

Python has a flexible mechanism built into `pathlib` to look for files with filenames that follow a given pattern. You can use `[...-...]` to represent character ranges and `*` to match arbitrary text. But note that `glob` does NOT support regex syntax! This is just similar.

2 likes 1 replies

?

Replies

Xavier G. · Jan 23

and `?` to match a single character :)