CGI
Laurent Delacroix
laurent at krutt.org
Sun Dec 27 12:59:43 EST 2015
On 26/12/15 10:41, Pol Hallen wrote:
>
> How can I execute a local command (like ls or similar) and show output
> via browser?
>
Either you use a proper web framework (Flask, Bottle, Django in order of
complexity) or you set up a web server with FastCGI support (e.g. nginx)
and run a WSGI application behind it.
Useful link:
https://docs.python.org/2/howto/webservers.html#setting-up-fastcgi
Lau
More information about the Python-list
mailing list