August 5th, 2003, 03:48 AM
Flush a webpage
I'm using Python as cgi script. One of my pages contains a very time consuming function call. Not all text that is supposed to be presented before the function call is presented. Is it possible to flush the presentation of html text before the function is called?
August 5th, 2003, 04:10 AM
This is likly caused by system buffering, I've never had cause to run without buffering because my CGI scripts tend to be pretty fast. but i think putting -u after your shebang should work though.