11\section {\module {glob} ---
2- \UNIX {} shell style pathname pattern expansion. }
3- \declaremodule {standard}{glob}
2+ \UNIX {} style pathname pattern expansion }
43
4+ \declaremodule {standard}{glob}
55\modulesynopsis {\UNIX {} shell style pathname pattern expansion.}
66
77
@@ -13,13 +13,14 @@ \section{\module{glob} ---
1313functions in concert, and not by actually invoking a subshell. (For
1414tilde and shell variable expansion, use \function {os.path.expanduser()}
1515and \function {os.path.expandvars()}.)
16+ \index {filenames!pathname expansion}
1617
1718\begin {funcdesc }{glob}{pathname}
1819Returns a possibly-empty list of path names that match \var {pathname},
1920which must be a string containing a path specification.
2021\var {pathname} can be either absolute (like
2122\file {/usr/src/Python-1.5/Makefile}) or relative (like
22- \file {../../Tools/*.gif}), and can contain shell-style wildcards.
23+ \file {../../Tools/*/* .gif}), and can contain shell-style wildcards.
2324\end {funcdesc }
2425
2526For example, consider a directory containing only the following files:
@@ -36,3 +37,8 @@ \section{\module{glob} ---
3637>>> glob.glob('?.gif')
3738['1.gif']
3839\end {verbatim }
40+
41+
42+ \begin {seealso }
43+ \seemodule {fnmatch}{Shell-style filename (not path) expansion}
44+ \end {seealso }
0 commit comments