I have two files in the same directory:
index.php
excel.py
I tried to call excel.py
in file index.php
like:
$buff = system('python excel.py ' . $handle->file_dst_pathname, $retval);
I use Windows 10
I have two files in the same directory:
index.php
excel.py
I tried to call excel.py
in file index.php
like:
$buff = system('python excel.py ' . $handle->file_dst_pathname, $retval);
I use Windows 10
Try it like this,
exec("C:\Python27\python.exe C:\dir...\file.py");
The problem is you must call C:\Python27\python.exe
Python exe file
before python file.