views:

462

answers:

2

I am using reportlab toolkit in Python to generate some reports in PDF format. I want to use some predefined parts of documents already published in PDF format to be included in generated PDF file. Is it possible (and how) to accomplish this in reportlab or in python library?

I know I can use some other tools like PDF Toolkit (pdftk) but I am looking for Python-based solution.

+1  A: 
vartec
Ok, this seems to be right tool. Unfortunately it is in commercial version of reportlab toolkit and I cannot use it directly - I am using opensource version. And there is no pricing - it looks like I have to negotiate some price with reportlab before download.
Jiri
+3  A: 

I'm currently using PyPDF to read, write, and combine existing PDF's and ReportLab to generate new content. Using the two package seemed to work better than any single package I was able to find.

dwelch
Yeah, I like this package. The first example is what I want, I'll give it a try.
Jiri