Python Scripts for mac, how to run a program and get value back
<p>I am trying to build a script in python to mac OS, I need the script to run two other scripts; the only thing my scripts does is run a website, and return value 1 or 0. </p>

<p>I just need to get the values, in windows i am getting then from CMD with "Exit value". </p>

<p>But i am new to mac, and in my job i need do it i mac. </p>

<p>After i get those values, i need to write a file that says 1 or 0.</p>
