import os files = os.listdir(os.getenv('REQ')) for file in files: os.system("python run.py " + file)