I can run my python script locally from console terminal, but when I try to run it from another pc I get Internal Server Error-500,
This is the script
I tried to use os, commands and subprocess and it doesn´t work. I also made the configurations of the CGI to work with python. I also add this line to the sudoers file:
www-data ALL = NOPASSWD: /path-to-script/xyz.py
I also changed permissions to make it executable. Nothing Worked. Please Help