mirror of
https://github.com/boostorg/contract.git
synced 2026-02-09 11:02:34 +00:00
13 lines
266 B
Python
13 lines
266 B
Python
|
|
import fnmatch
|
|
import os
|
|
|
|
for root, dirs, files in os.walk('.'):
|
|
for file in fnmatch.filter(files, '*-generate.py'):
|
|
cwd = os.getcwd()
|
|
os.chdir(root)
|
|
print "In directory:", root
|
|
os.system("python " + file)
|
|
os.chdir(cwd)
|
|
|