Python execution on localhost | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
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

10th Oct 2017, 6:38 PM
Aneesh
1 Réponse
+ 1
You cannot just print out code of a completely different language and expect it to work... Please Google on how to do it.
12th Nov 2017, 9:42 PM
Private [GER]
Private [GER] - avatar