I have shared hosting for my website at Godaddy with shared hosting in cpanel. I made a python script that print hello and I even tried with the GUI too but it is not printing. It is only showing the code. I called GoDaddy and they said to do print("Hello World")
but even though I did it is still not working. Right now my code is print("Hello World")
. Printing hello world like that normally works but it is not working. I need to use python 2.6.6 because that’s what GoDaddy gives as the version number for python. Please can somebody help?
You can check out my python script in my website at My python script in my website.
2
Answers
I found out that python is installed on it but it doesn't let you run python scripts in godaddy economy hosting cpanel. Thanks!
You use Apache Web server, and it doesn’t process you python script. It consider it as static file and return it’s content.
There are a few ways to make it work