|
Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.stsci.edu/spst/UnixTransition/doc/fnmatch.html
Дата изменения: Thu Nov 5 13:46:16 2015 Дата индексирования: Sun Apr 10 21:29:28 2016 Кодировка: Поисковые слова: http www.astronomy.ru forum index.php topic 4644.0.html |
| fnmatch | index /usr/local/Python-2.5/lib/python2.5/fnmatch.py Module Docs |
Filename matching with shell patterns.
fnmatch(FILENAME, PATTERN) matches according to the local convention.
fnmatchcase(FILENAME, PATTERN) always takes case in account.
The functions operate by translating the pattern into a regular
expression. They cache the compiled regular expressions for speed.
The function translate(PATTERN) returns a regular expression
corresponding to PATTERN. (It does not compile it.)
| Modules | ||||||
| ||||||
| Functions | ||
| ||
| Data | ||
| __all__ = ['filter', 'fnmatch', 'fnmatchcase', 'translate'] | ||