Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php import python script

#excute python file named test.py

<?php
    $command = escapeshellcmd('python test.py');
    $output = shell_exec($command);
    echo $output;
?>
 
PREVIOUS NEXT
Tagged: #php #import #python #script
ADD COMMENT
Topic
Name
6+1 =