1 2 3 4 5 6 7
#!/usr/bin/env python3 import glob import subprocess for file in glob.glob("gen_*.py"): subprocess.call(["python",file])