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
I managed to make simple function PY([parametress], code) for PHP. You may almost include python code to your PHP. You may pass as well some simple input variables to python process. You cannot get any data back, but I believe that could be easily fixed :) Not ok for using at webhosting (potentionally unsafe, system call), I created it for PHP-CLI..