Non-web-based templating system
Larry Bates
larry.bates at websafe.com
Fri Apr 28 10:12:37 EDT 2006
qscomputing at gmail.com wrote:
> Hi,
>
> I'm creating a small application in Python that uses lists and
> dictionaries to create a rudimentary database. I'd like to create some
> "fill-in-the-blanks" reports from this data, ideally by taking an RTF
> or plaintext file as a template and replacing placeholder tags with my
> data.
> Are there any good pre-written systems that would allow me to do this?
>
> Thanks,
> - QS Computing.
>
It may be overkill for your application but if you are looking for
high quality .PDF output this combination works:
ReportLab PageCatcher - reads .PDF background templates (note: not free)
ReportLab - allows you to write on top of the .PDF template to produce
a .PDF file as output.
The results are a very high quality .PDF output document.
-Larry Bates
More information about the Python-list
mailing list