When dealing with a script issue the best way to get the error output is to simply execute the file that is having issues on the server itself. In this case, the hoops_web.py is erroring out so if you login via SSH to your account and execute the script it will return the actual error.
I can see by your account that the script is already chmod’d to 755, so running it by typing the following into my bash terminal returns the following error:
[~/public_html]# ./hoops_web.py
./hoops_web.py: line 19: syntax error near unexpected token `(‘
./hoops_web.py: line 19: `urls = (‘
In this way you can see that there’s a syntax error on line 19 of the script which will need to be resolved before it’ll work as intended.
Now, in regards to redirecting the stderr output to a file, you can do this by simply executing the script like so:
[~/public_html]# ./hoops_web.py 2> error.log
By appending the 2> error.log you’re telling bash that you want to redirect the stderr output to the file error.log, which you can then open in your text editor of choice.
I hope that helps.