File size: 375 Bytes
bbb45bb 6c30a93 bbb45bb |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
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() |