[reportlab-users] Creating reports by inputing values from variables

Tim Roberts timr at probo.com
Mon Apr 14 12:54:18 EDT 2008

Prateek Shrestha wrote:

> I am working on a program in python that needs to create reports in

> .pdf format. I have to make report that has many data in tabular form

> that has like 15 rows and 5 columns and need to pass the values from

> varibales. For example: "The average value: is %2f", avg_val, where

> avg_val is the variable containing the average value. I was wondering

> if anyone has any information on how to create such reports using

> reportlab.

I'm not sure what, exactly, you are asking. There are examples in the
ReportLab distribution that show how to create tables. The data you
pass to the table builder is just a list of strings. It doesn't care
where the strings came from.

Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.

More information about the reportlab-users mailing list