Je suis débutant en python. J'ai installé python34 et xampp. J'ai changé le fichier http.config et ajouté l'extension .py dans le bloc gestionnaire. Ensuite, j'ai mis mon script python dans xamp/bin-cgi et mis la première ligne du script python comme, "#! C: /Python34/python.exe". Mais quand j'ouvre le fichier via localhost/cgi-bin/test.py il ne montre rien d'autre qu'un écran vide, sous le contenu du fichier.Le script cgi python ne s'exécute pas dans XAMPP
#!C:/Python34/python.exe
print "Content-type: text/html"
print
print "<html>"
print "<head>"
print "<title>welcome cgi</title>"
print "</head>"
print "<body>"
print "<h1>first python page</h1>"
print "<p>heihei</p>"
print "</body>"
print "</html>"