I want to send string from php script to python:
php script:
$row = "successful";
$c= escapeshellcmd('python C:\wamp64\www\project\GUI.py ' .$row);
echo $c;
python:
url1 = 'http://localhost:9090/project/file.php'
x2 = urllib.request.urlopen(url1)
data = x2.read()
d = str(data)
encode = x2.info().get_content_charset('utf8')
print(d)
i am getting nothing in python script kindly help thank you