OpenQuizz
Une application de gestion des contenus pédagogiques
|
Functions | |
def | glob (pathname, recursive=False) |
def | iglob (pathname, recursive=False) |
def | glob1 (dirname, pattern) |
def | glob0 (dirname, basename) |
def | glob2 (dirname, pattern) |
def | has_magic (s) |
def | escape (pathname) |
Variables | |
magic_check | |
magic_check_bytes | |
Filename globbing utility. Mostly a copy of `glob` from Python 3.5. Changes include: * `yield from` and PEP3102 `*` removed. * Hidden files are not ignored.
def setuptools.glob.escape | ( | pathname | ) |
Escape all special characters.
def setuptools.glob.glob | ( | pathname, | |
recursive = 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. If recursive is true, the pattern '**' will match any files and zero or more directories and subdirectories.
def setuptools.glob.glob0 | ( | dirname, | |
basename | |||
) |
def setuptools.glob.glob1 | ( | dirname, | |
pattern | |||
) |
def setuptools.glob.glob2 | ( | dirname, | |
pattern | |||
) |
def setuptools.glob.has_magic | ( | s | ) |
def setuptools.glob.iglob | ( | pathname, | |
recursive = 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. If recursive is true, the pattern '**' will match any files and zero or more directories and subdirectories.
magic_check |
magic_check_bytes |