php impor skrip python

#excute python file named test.py

<?php
    $command = escapeshellcmd('python test.py');
    $output = shell_exec($command);
    echo $output;
?>
The Best