Gaaara
asked on
executing php script with python
hello
I am trying to execute a .php file in my script python and i have an error. I would want to know why I have this error:)
ty all
I am trying to execute a .php file in my script python and i have an error. I would want to know why I have this error:)
subprocess.call("php files/updatekey.php")
error> Traceback (most recent call last): File "adn/start.py", line 15, in
> <module>
> subprocess.call("php files/updatekey.php") File "/usr/lib64/python2.7/subprocess.py", line 524, in call
> return Popen(*popenargs, **kwargs).wait() File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
> errread, errwrite) File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
> raise child_exception OSError: [Errno 2] No such file or directory
ty all
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER