File size: 225 Bytes
8989736
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php

// Define the command to run the Python script
$command = 'python3 test.py';

// Execute the command and capture the output
$output = shell_exec($command);

// Display the output
echo '<pre>' . $output . '</pre>';

?>