-
Posts
5 -
Joined
-
Last visited
Posts posted by wojiaoliming
-
-
You need to change the permissions to 755.
Still 500 errors
help me pls
-
To run a Python script, place your .py file in the cgi-bin folder. It is also important to include the shebang line, which in your case would be #!/usr/bin/python3.7 for Tommy.
A simple script looks like:
#!/usr/bin/python3.7 print("Content-Type: text/html\n") print("<h1>Test</h1>")
Hopefully this helps you.
thanks very much
but
I followed your steps and changed the permissions to 777, but he still doesn't work
the demo at : http://help.heliohost.org/cgi-bin/test.py
-
and my server is tommy
-
I want to run a python script, but I didn't find the right entry,can you help me ,tks
[Solved] how can i run a python Script
in Customer Service
Posted
Thank you, there should be a space after "#!"