php how to run command from python script code example
Example: php run python script
$r=shell_exec("python3 mypythonscript.py");
echo $r;//will be out put of .py script
$r=shell_exec("python3 mypythonscript.py");
echo $r;//will be out put of .py script