import subprocess subprocess.Popen(["python", "main.py"])