mutapath.MutaPath.iglob¶
-
MutaPath.
iglob
(pattern)[source]¶ Return an iterator of Path objects that match the pattern.
pattern - a path relative to this directory, with wildcards.
For example,
Path('/users').iglob('*/bin/*')
returns an iterator of all the files users have in theirbin
directories.See also
Note
Glob is not recursive, even when using
**
. To do recursive globbing seewalk()
,walkdirs()
orwalkfiles()
.