Lines Matching refs:glob
1 :mod:`glob` --- Unix style pathname pattern expansion
4 .. module:: glob
7 **Source code:** :source:`Lib/glob.py`
13 The :mod:`glob` module finds all the pathnames matching a specified pattern
19 :mod:`glob` treats filenames beginning with a dot (``.``) as special cases.
31 .. function:: glob(pathname, *, recursive=False)
53 Return an :term:`iterator` which yields the same values as :func:`glob`
70 which contains only the file :file:`3.txt`. :func:`glob` will produce
74 >>> import glob
75 >>> glob.glob('./[0-9].*')
77 >>> glob.glob('*.gif')
79 >>> glob.glob('?.gif')
81 >>> glob.glob('**/*.txt', recursive=True)
83 >>> glob.glob('./**/', recursive=True)
90 >>> import glob
91 >>> glob.glob('*.gif')
93 >>> glob.glob('.c*')