PYME.IO.clusterGlob module¶
Filename globbing utility.
Stolen and adapted from the python standard library glob module
- PYME.IO.clusterGlob.glob(pathname, serverfilter='runnervm0kj6c', include_scheme=False)¶
Return a list of paths matching a pathname pattern.
The pattern may contain simple shell-style wildcards a la fnmatch. However, unlike fnmatch, filenames starting with a dot are special cases that are not matched by ‘*’ and ‘?’ patterns.
- PYME.IO.clusterGlob.iglob(pathname, serverfilter='runnervm0kj6c', include_scheme=False)¶
Return an iterator which yields the paths matching a pathname pattern.
The pattern may contain simple shell-style wildcards a la fnmatch. However, unlike fnmatch, filenames starting with a dot are special cases that are not matched by ‘*’ and ‘?’ patterns.