Galaxie Shell 0.2.6 documentation


Navigation:   | Index   | Search   | Top   | Up   | Prev   | Next   |
Table of Content: |glxshell.lib.glob.glob module |glob() |glob0() |glob1() |has_magic() |iglob() |

© Copyright 2020-2024, Galaxie Shell Team.

Top » glxshell » glxshell package » glxshell.lib package » glxshell.lib.glob package » glxshell.lib.glob.glob module

glxshell.lib.glob.glob module

Filename globbing utility.

glxshell.lib.glob.glob.glob(pathname)[source]

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.

glxshell.lib.glob.glob.glob0(dirname, basename)[source]
glxshell.lib.glob.glob.glob1(dirname, pattern)[source]
glxshell.lib.glob.glob.has_magic(s)[source]
glxshell.lib.glob.glob.iglob(pathname)[source]

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.

Top » glxshell » glxshell package » glxshell.lib package » glxshell.lib.glob package » glxshell.lib.glob.glob module

© Copyright 2020-2024, Galaxie Shell Team.
This page is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License (CC BY-NC-SA 4.0).
Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
See History and License for more information.

Last updated on None.
Created using Sphinx 8.0.2.