[Tutor] Single line webserver

Steven D'Aprano steve at pearwood.info
Tue Nov 8 01:26:31 CET 2011


Rich Lovely wrote:
> Hi all, I was part of this list a couple of years ago, and a recent discussion at a python dojo brought to mind something I'd seen then:  a one-liner (potentially single statement) webserver.  I'm pretty sure it was posted to this list, but I can't find it in the archives, and a google search is similarly lacking in relevant results.
> 
> I was wondering if anyone (maybe the original author?) had a copy they could send me.

https://duckduckgo.com/html/?q=python%20one%2Dliner%20web%20server

Hits #2 #3 and #4 are:

http://tobyho.com/2010/04/26/one-liner-webserver-with/
http://www.garyrobinson.net/2004/03/one_line_python.html
http://aroberge.blogspot.com/2010/08/my-favourite-python-one-liner.html



-- 
Steven


More information about the Tutor mailing list