Thank you for the help, now I created the file, 'test.py', with the cpanel, and I wrote the code with the editor, but this still dosen't work. EDIT: Ok now it works, but I chnged the line "#!/usr/bin/python 3.6" in "#!/usr/bin/python"
Hello, I need help to run a simple python script on my heliohost server. I looked an old topic to find some information, but still can't run no scripts at all. I tried using the cgi and set permissions to 755, but didn't work. Here is the code I found
#!/usr/bin/python3.6
print "Content-type: text/html\n\n"
print "How to run Python scripts in cPanel" This dosen't work, when I try to open http://agatuz12.heliohost.org/cgi-bin/test.py I get a 500 Internal Server Error. Hope someone can help me to find a solution. Server: ricky User: agatuz12