Re: [Tutor] Single line webserver

2011-11-08 Thread Prasad, Ramit
>Windows Command Prompt gotta be the most powerful language on earth, it >has a full-blown server in a single word: >C:\Program Files\Apache Software Foundation\Apache2.2\bin> httpd.exe Ramit Ramit Prasad | JPMorgan Chase Investment Bank | Currencies Technology 712 Main Street | Houston, TX

Re: [Tutor] Single line webserver [was: Tutor Digest, Vol 93, Issue 38]

2011-11-08 Thread Steven D'Aprano
Rich Lovely wrote: I'd like to draw your attention to my original message: "a google search is similarly lacking in relevant results." Shouldn't it be clear from how easy it is to find SimpleHttp that it clearly /isn't/ what I'm looking for? Perhaps I should have mentioned that, but I thought I

Re: [Tutor] Single line webserver

2011-11-07 Thread Lie Ryan
On 11/08/2011 10:23 AM, 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 fi

Re: [Tutor] Single line webserver

2011-11-07 Thread Alan Gauld
On 07/11/11 23:23, Rich Lovely wrote: a one-liner (potentially single statement) webserver. There is a python module in the standard library that implements a basic webserver, presumably it was based on that. Try the docs for the library modules... -- Alan G Author of the Learn to Program

Re: [Tutor] Single line webserver

2011-11-07 Thread Steven D'Aprano
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, a

[Tutor] Single line webserver

2011-11-07 Thread Rich Lovely
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