I'm running a Python script from php like this,
$ mystring = system ('python test.py', $ retval);
and it works, only that I would like to be able to see the errors of the Python script. It's possible? The "print" of Python for example are seen, but the Python script errors are not, it is clearly failing to import a module because the execution stops there and does not show any error on the screen