lunes, 11 de diciembre de 2017

Print a new line with python in html cpanel server

Print a new line with python in html cpanel server

Probe the next code, remember folder public_html/cgi-bin/ and the permission 755

test3.py

#!/usr/bin/python3.6

print("Content-Type: text/html\n\n")

print("Test 3!")

print("<br />")

print("How to run Python scripts in cPanel")


http://advanced.heliohost.org/cgi-bin/test3.py

No hay comentarios:

Publicar un comentario