For example, I can use Python scripts in PHP like there:
exec(\"python script.py params\",$result);
where \"script.py\" - script name and v
You can shell-out to any shell binary and capture the response with backticks:
result = `python script.py params`