PHP запустить сценарий Python
$r=shell_exec("python3 mypythonscript.py");
echo $r;//will be out put of .py script
Friendly Hawk
$r=shell_exec("python3 mypythonscript.py");
echo $r;//will be out put of .py script