I am trying to host a website running on php calling a python script on web server.
The web server name (Host) is heroku.com whenever I try to execute my python script with php it does not work (execute).
I think the code itself is little much wrong.
below is the php code for calling python file - forphp.py
$command = escapeshellcmd('forphp.py');
$py = shell_exec($command);