[reportlab-users] Questions about generating documents

Carl waldbie at verizon.net
Sat Nov 19 08:37:13 EST 2005


On Friday 18 November 2005 10:59 pm, Michael Eager wrote:
> Is there a way to create a document "on the fly"
> as data is generated?  It seems that the doc.build()
> method expects all of the data to be available before
> it is called.

The build method is expecting an iterable.  Normally, you can pass it a 
sequence of flowables, but you could also pass it a generator function that 
returns flowables.

Carl Waldbieser


More information about the reportlab-users mailing list