[reportlab-users] Questions about generating documents

Robin Becker robin at reportlab.com
Sat Nov 19 14:05:28 EST 2005

Carl wrote:
> 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
.....well not quite since the usage of the "iterable" requires that it 
at least supports insertion at the front and for multibuild a lot more 
eg multi-pass.
Robin Becker

More information about the reportlab-users mailing list