I was wondering how to output text to a client browser little-by-little, eg something
like:
#little-by-little.cgi
print httpheader+'\n'
print 'start<br>'
for i in range(n):
time.sleep(1)
print (i+1)+' seconds<br>'
If I do the above code it waits 4 seconds and then splashes all the text out together,
instead of little-by-little. Now, is this a
python thing, or do I have to play with apache configs, or http headers, or what?
Cheers
_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython