The browser displays my python code instead of executing it

0

When I access my browser page in Python, it displays the code and does not execute the script.

Here is my code:

#!/usr/bin/python
# cabecalho que informa o browser para renderizar como HTML
print "Content-Type: text/html\n\n"
# o conteudo em si
print "<strong>Hello, world!</strong>"
    
asked by anonymous 07.08.2017 / 03:47

0 answers