Script PHP Importer Python

#excute python file named test.py

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