mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 18:00:35 +00:00
9 lines
288 B
Python
9 lines
288 B
Python
|
|
|
|
# Snatched from: http://stackoverflow.com/a/2186565/339505
|
|
def recursive_glob(path, pattern):
|
|
import fnmatch
|
|
import os
|
|
for root, dirnames, filenames in os.walk(path):
|
|
for filename in fnmatch.filter(filenames, pattern):
|
|
yield os.path.join(root, filename)
|