Lines Matching refs:glob
1 :mod:`glob` --- Unix style pathname pattern expansion
4 .. module:: glob
10 **Source code:** :source:`Lib/glob.py`
14 The :mod:`glob` module finds all the pathnames matching a specified pattern
20 :mod:`glob` treats filenames beginning with a dot (``.``) as special cases.
28 .. function:: glob(pathname)
39 Return an :term:`iterator` which yields the same values as :func:`glob`
45 :file:`1.gif`, :file:`2.txt`, and :file:`card.gif`. :func:`glob` will produce
49 >>> import glob
50 >>> glob.glob('./[0-9].*')
52 >>> glob.glob('*.gif')
54 >>> glob.glob('?.gif')
61 >>> import glob
62 >>> glob.glob('*.gif')
64 >>> glob.glob('.c*')