I have tried using
#!/bin/bash python ScriptA.py & python ScriptB.py &
to run both scripts at the same time but it always returns
You can try os.system :
import os os.system("python ScriptA.py &") os.system("python ScriptB.py &")