[Tutor] CGI question

Danny Yoo dyoo@hkn.eecs.berkeley.edu
Fri, 9 Feb 2001 01:14:11 -0800 (PST)


On Thu, 8 Feb 2001, Sharriff Aina wrote:

> I=B4m going to generate from a Database with a Python CGI script a lot
> of HTML output, how can I output the content to the client in smaller
> chunks? I=B4ve heard of a "CHUNK" command somewher but I do=B4nt know
> where or how to implement this command. Any ideas?

Hmm... I'm not quite sure what you mean by a "chunk".  You should be able
to do regular printing to the brower without having to worry about
breaking something into small bits.

Perhaps "CHUNK" has to do with your database instead?  It reminds me of an
SQL data type; is this what you mean?