Long cgi page

Jegenye 2001 Bt jegenye2001 at fw.hu
Mon Oct 13 15:05:39 EDT 2003


sys.stdout.flush()
See Python ref.

Best,
Miklós

Simon Faulkner <news at titanic.co.uk> wrote in message
news:nfolovgho3ih3l7jcef7bvq0bfjs2d6es1 at 4ax.com...
> I am writing a simple cgi app and I would like it to print the header
> of an html page and "Running..." then print the results (which take
> over a minute to calculate)
>
> But...
>
> None of the page displays until the program finishes.
>
> Is there any way of flushing the first half of the page out before the
> calculation starts?
>
> Simon






More information about the Python-list mailing list