glob It finds all the pathnames matching a specified pattern. When you need the path or name of files with a specific pattern or extension, it returns a file name that meets the conditions presented by the user in the form of a list. - '*' : any string of arbitrary length dir : file1.txt, file2.txt, file101.txt, file102.txt, filea.txt, fileb.txt, file1.jpg, file2.jp dir/subdir : subfile1.txt, su..