Jak wysyłać dane z PHP do Pythona
$response = shell_exec("python3 script.py" . escapeshellarg(json_encode($data)));
Fahim Foysal
$response = shell_exec("python3 script.py" . escapeshellarg(json_encode($data)));