Re: small python cgi webserver

2006-11-04 Thread Norbert Kaufmann
Fabian Braennstroem wrote: [...] > > Maybe, I understood something wrong, but I thought that the > above 'webserver' script would replace apache in my case; at > least I hoped!? > It does. The 'ServerRoot' and 'DocumentRoot' directories are the directories you are starting your webserver in. Cre

Re: small python cgi webserver

2006-11-05 Thread Norbert Kaufmann
Fabian Braennstroem wrote: [...] >>In your response (cgi-script) you have to divide the header from the >>content '\r\n\r\n'. > > > I am not sure, what that means!? ... but it works :-) > We are talking about HTTP, take a look at the HTTP response in version 1.1: http://www.w3.org/Protocols/rf

Re: How do you practice Python?

2006-06-02 Thread Norbert Kaufmann
Ray wrote: [...] > Um, I mean, what if you have to use something other than > Python/Jython/IronPython? :) How do you keep your Python skill sharp? > You could use IPython as your primary shell. Than you have the opportunity to do all these nasty automation tasks -- create test data, deploy confi