import subprocess subprocess.run("app.py", shell=True)