+ 2
How to?
how to run python in php? $file=escapeshellcmd('/hi.py'); $msg=shell_exec('$file'); echo $msg; is not working ?
2 Respuestas
+ 1
Try this based on stackoverflow
https://stackoverflow.com/questions/37042904/running-JUMP_LINK__&&__python__&&__JUMP_LINK-script-in-php-capture-all-outputs
if that doesn't work try
https://stackoverflow.com/questions/19735250/running-a-python-script-from-php
+ 1
thank you😁😄