I looked at the other questions similar to this one, but can't figure this out still.
I have a basic php file that does this:
?php
$item='example';
$tmp = exec("python testscriptphp.py .$item");
echo $tmp;
?
While succesfully calls python that I have running on my webhostserver. Now in my python script i want something like this:
item=$item
print item
Basically I'm asking how to pass variables from PHP to a python script and then back to php if necessary.
Thanks!