import subprocess def run_dl(): try: subprocess.run(["python", "bdl.py"], check=True) except subprocess.CalledProcessError as e: print(f"Error occurred: {e}") run_dl() def run_web(): try: subprocess.run(["python", "newweb.py"], check=True) except subprocess.CalledProcessError as e: print(f"Error occurred: {e}") run_web()