import subprocess # Runs another script (rename your actual script to '_script.py') subprocess.run(["bash", "run.sh"])