Has anyone successfully exec python script?
An example would be great…I tried using the PHP exec($pythonstring) with no luck
Has anyone successfully exec python script?
An example would be great…I tried using the PHP exec($pythonstring) with no luck
First of all, Scriptcase works better with php.
But, if you insist on running a script with python, try this inside an event:
$command = escapeshellcmd('/path/to/your/script/test.py');
$output = shell_exec($command);
echo $output;
Hope It helps.