PHP Maju Posting Konten ke dalam skrip Python

<?php
$post_content = json_encode($_POST);
$command = "python3 middle.py {$post_content}";
$output = passthru($command);
echo $output;
?>
mcornel