Can anyone help me run python scripts with http.server?

Laura Creighton lac at openend.se
Sun Sep 6 11:03:40 EDT 2015


In a message of Sun, 06 Sep 2015 06:07:05 -0700, tropical.dude.net at gmail.com wr
ites:
>Thank you very much.
>
>I will definitely look into python web frameworks in the future, they seem
>complicated to me compared to php for example. I am looking for the simplest
>way to test my python scripts till I understand better how it works and when
>I can configure my own web server to run the framework because I want develop my
>stuff offline.

I think that bottle or flask won't seem complicated to you ....

As I was walking around town it occurred to me to ask if you have
made your something.py file executable?  I don't even know if
apache on windows cares about such things, though if you are using cgi
and a unix like system you will need to do this.

Laura



More information about the Python-list mailing list