先安装python3 和php环境
1.py
print("Hello, World!")
1.php
<?php
$pythonScript = '1.py'; // Python脚本的文件名
$output = shell_exec(
先安装python3 和php环境
1.py
print("Hello, World!")
1.php
<?php
$pythonScript = '1.py'; // Python脚本的文件名
$output = shell_exec(