vendredi 2 décembre 2016

How do I use python as a server-side language?

I am trying to use Python instead of PHP (just for educational purposes). I am testing my webpages on XAMPP and I already added python and cgi to configs. I managed to make a very basic webpage with this code

#!/Python/python

print("Content-Type: text/plain;charset=utf-8")
print()

print("Hello World!")

Though, this is it. I can't find any info on how exactly do I serve webpages with Python 3+. Most of the info is outdated or controversial. Is there an up-to-date guide on how to use Python as a server-side language?




Aucun commentaire:

Enregistrer un commentaire