Hi all,
Was facing the same problem as everyone here with Python script returning a 500 server error and generally not working at all.
Adding this extension under "Apache Handlers" in the cPanel fixed the whole thing
Handler: cgi-script
Extension(s): .py .cgi
Just make sure that you include the PERIOD in front of the extensions otherwise it won't work!
Edit:
Well it worked for a little while and now over-night suddenly scripts that worked don't any more. I'm grateful for the free hosting but there is clearly something seriously wrong with the python setup on the server.