title: where to place python file when it execute with php?
body: <p>i am finding problem in passing string from php to python code.i think my code is fine but may be in problem of path of python file.so suggest me where i have to place python file when it execute with php file.thank u so much in advance </p>
  
  <p>here is my code:-</p>
  
  <p>test.php</p>
  
  <pre><code>&lt;?php
  $s= "what is your name";
  $output= shell_exec('xampp/htdocs/fbchat/public/test.py ' .$s); 
  echo $output;
  ?&gt;
  </code></pre>
  
  <p>test.py</p>
  
  <pre><code>import sys
  x= sys.argv[1]
  print x
  </code></pre>