glob.glob(pathname, *, recursive=False) Return a possibly-empty list of path names that match pathname, which must
fnmatch.translate(pattern) Return the shell-style pattern converted to a regular expression.
Path.write_bytes(data) Open the file pointed to in bytes mode, write data to it, and close the file:
tempfile.SpooledTemporaryFile(max_size=0, mode='w+b', buffering=None, encoding=None, newline=None, suffix=None, prefix=None, dir=None) This
fnmatch.filter(names, pattern) Return the subset of the list of names that match pattern. It is the same as
PurePath.suffixes A list of the path’s file extensions:
PurePath.parts A tuple giving access to the path’s various components:
os.path.join(path, *paths) Join one or more path components intelligently. The return value is the concatenation of path
os.path.isabs(path) Return True if path is an absolute pathname. On Unix, that means it begins with a
Path.is_char_device() Return True if the path points to a character device (or a symbolic link pointing to a character
Page 4 of 19