[reportlab-users] Report lab tables

Tim Smith reportlab-users@reportlab.com
Mon, 04 Oct 2004 11:30:19 +1000

hello there i have been attempting to make reportlab produce tables and 
i've run into a snag, below is my code, without any real documentation i 
can only go by the examples,  my code below errors can anyone explain why?

from reportlab.platypus import SimpleDocTemplate, Paragraph, Spacer, Table
from reportlab.lib.styles import getSampleStyleSheet
from reportlab.rl_config import defaultPageSize
from reportlab.lib.units import inch
import time

def tbl():
    t = Table(

    return t

def genPDF():

    InvoiceNum = time.strftime('%Y%m%d%H%S')
    doc = SimpleDocTemplate(InvoiceNum+'.pdf')
    t = tbl()
    Invoice = []