Did I find the right examples for you? yes no

All Samples(3511)  |  Call(0)  |  Derive(0)  |  Import(3511)
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.)

src/d/j/django-hotsauce-0.5.0/examples/lib/satchmo_utils/thumbnail/utils.py   Django-hotsauce(Download)
import os
import fnmatch
import shutil
import urlparse
try:
def _remove_thumbnails(photo_url, root=settings.MEDIA_ROOT, url_root=settings.MEDIA_URL):
    if not photo_url: return # empty url
 
    file_name = _get_path_from_url(photo_url, root, url_root)
    import fnmatch, os

src/m/o/modern-python-example-HEAD/lib/python2.7/site-packages/logilab/common/shellutils.py   modern-python-example(Download)
import tempfile
import time
import fnmatch
import errno
import string

src/h/u/hunch-sample-app-HEAD/django/core/management/commands/makemessages.py   hunch-sample-app(Download)
import fnmatch
import glob
import os
import re
import sys

src/d/j/django-admin-report-HEAD/example/lib/reportlab/lib/utils.py   django-admin-report(Download)
except:
    __file__ = sys.argv[0]
import glob, fnmatch
try:
    _isFSD = not __loader__

src/d/j/django-admin-report-HEAD/example/lib/reportlab/lib/testutils.py   django-admin-report(Download)
"""
 
import sys, os, string, fnmatch, copy, re
from ConfigParser import ConfigParser
import unittest

src/s/k/skeleton-0.6/skeleton/examples/basic-package/distribute_setup.py   skeleton(Download)
import sys
import time
import fnmatch
import tempfile
import tarfile

src/s/k/skeleton_stu-0.6.3/skeleton/examples/basic-package/distribute_setup.py   skeleton_stu(Download)
import sys
import time
import fnmatch
import tempfile
import tarfile

src/c/u/curso_python_dga_11-HEAD/sistemas/examples/watchdog/watchdog.py   curso_python_dga_11(Download)
import string
import json
import fnmatch
import httplib
import socket

src/g/a/GameDevelopment-HEAD/examples/students_works/pygame/somnium/exe.py   GameDevelopment(Download)
try:
    from distutils.core import setup
    import py2exe, pygame
    from modulefinder import Module
    import glob, fnmatch

src/s/k/skeleton-HEAD/skeleton/examples/basic-package/distribute_setup.py   skeleton(Download)
import sys
import time
import fnmatch
import tempfile
import tarfile

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next