John Davidson

Trying to run python script in PHP

0 comments
Message:


I'm trying to run a Python script inside a perl script with the following command:


system("python3 script.py -d http:\/\/site.com --no-interaction");

qx/python3 script.py -d http:\/\/site.com --no-interaction/;

On the operating system's command line, the Python script executes, but when I make a call from a PHP application, the perl work, but the python script don't work.



My Answer:
python script.py);

Rate this post

4 of 5 based on 1210 votes

Comments




© 2024 Hayatsk.info - Personal Blogs Platform. All Rights Reserved.
Create blog  |  Privacy Policy  |  Terms & Conditions  |  Contact Us