I have some code written in PHP, but I have also developed a script written in Python. Is it possible to call this Python script from the PHP code?
If yes, how can I pass parameters to the Python script from the PHP?
I have tried to find an answer without any success.
Can someone give me a clue?
You can try this:
python scripts:
 test.py:
        print "hello"

then php Scripts
index.php:
   $i =`python test.py`;
   echo $i;
How to call a Python Script from PHP?