El sábado, 22 de septiembre de 2012 12:35:59 UTC-3, Massimo Di Pierro escribió: > > I am looking at the source code. Is this really one single file > (pollyreports.py)? I cannot find a single import in there and I cannot find > the word "pdf" in there either. Is that really the files that generates the > PDF? > > I exchanged some emails with the author, and one of the goals is to keep the little module without dependencies.
In this case the pdf is generated through ReportLab, which is passed from outside. >From the website: "PollyReports.py provides a set of classes for database report writing. It assumes that you are using Reportlab to do PDF generation, but can work with any "canvas-like" object as desired" --

