I\'m relatively new to both Python and bash. However, I am finding Python much more intuitive and easier than bash. I have a few bash scripts I have managed to cobble togeth
Using subprocess module
master.py
import subprocess
retcode = subprocess.call(["/usr/bin/python", "/path/to/test.py"])
print "Return code of test.py is ", retcode
I would suggest you to look at the subprocess module in python. You can start another process using it, manipulate its streams and get the return code.