Answers for "how to run python script in php and return result to php"

PHP
1

php run python script

$r=shell_exec("python3 mypythonscript.py"); 
echo $r;//will be out put of .py script
Posted by: Guest on February-12-2021

Browse Popular Code Answers by Language