PHP如何调用python
实用代码
php代码
<?php
#header("Content-type: text/html; charset=utf-8");
//echo 'hello world';
$output = shell_exec('python test.py');
$array = explode(',', $output);
echo $array[0];
foreach ($arr...
原创
2018-12-22 17:28:35 ·
4466 阅读 ·
0 评论