title: call python from php
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2726551/call-python-from-php-and-get-return-code">Call Python From PHP And Get Return Code</a>  </p>
  </blockquote>
  
  
  
  <p>probably a very stupid question
  I have a python module lets say hi.py which have the following</p>
  
  <pre><code>print "hi"
  </code></pre>
  
  <p>now I want to execute this file from php</p>
  
  <pre><code>&lt;?php
  
  #code here
  ?&gt;
  </code></pre>
  
  <p>So how do I call that python file from php.
  Thanks</p>