Playing python from php

i want to open and execute a python file using php . for this reason i’m using xamp . my php and python both files resides in htdocs folder. here is the code `<?php

print exec(‘whoami’);

$output = shell_exec(“python untitled6.py”);
var_dump($output);

?>`

and it is giving me Null output.
i need help regarding this :frowning: