Non Parsed Headers in Python

Fuzzyman michael at foord.net
Wed Feb 11 11:19:26 EST 2004


Aha.........
I'm not sure which of these two was the right answer..... but I've
used both and it's working.

My anagram CGI now spits out the answers as it finds them - Thanks !

http://www.voidspace.xennos.com/cgi-bin/Nanagram-CGI.py


Fuzzy


Gerhard Häring <gh at ghaering.de> wrote in message news:<mailman.1459.1076495065.12720.python-list at python.org>...
> Fuzzyman wrote:
> > How do I make a python CGI output whilst it is still running - how do
> > I tell the server not to buffer the output ?
> > 
> > I have seen instructions for Perl, but not for python......
> 
> Starting your CGI script with
> 
> #!/usr/bin/env python -u
> 
> should do the trick.
> 
> -- Gerhard



More information about the Python-list mailing list