[reportlab-users] Table properties

Nathalie Mansouri reportlab-users@reportlab.com
Fri, 06 Sep 2002 17:41:45 +0200


Hi,

I wrote a script that upload csv files and take out all its columns and 
rows and put them in the pdf using Table function, it works fine but I 
want to ask you if the file is wide in size, is there a way to shrink 
the table width?
The code is:

        f=open(file, 'r')

        lines=f.readlines()

        columns = []

        for column in lines:

            column = column.strip().split(',')

            column = tuple(column)

            columns.append(column)

        t = Table(columns)

        self.Elements.append(t)

Thanks,

Nathalie