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 -- https://mail.python.org/mailman/listinfo/python-list