Answers for "php import python script"

PHP
1

php import python script

#excute python file named test.py

<?php
    $command = escapeshellcmd('python test.py');
    $output = shell_exec($command);
    echo $output;
?>
Posted by: Guest on April-27-2022

Browse Popular Code Answers by Language