Python execution on localhost | Sololearn: Learn to code for FREE!

0

Python execution on localhost

Hi friends, I have to do a microproject that connect localhost server,database,with python.Localhost is installed successfully.but when I place python code it displays the code actually like text. I.e, print("""<html> <h1>hai</h1></html>""") The above code is printed as the code .Please help me

10/10/2017 6:38:54 PM

Aneesh

1 Answer

New Answer

+1

You cannot just print out code of a completely different language and expect it to work... Please Google on how to do it.