<p>有几种选择:</p>
<ul>
<li><a href="http://www.reportlab.com/software/opensource/" rel="nofollow noreferrer">reportlab</a>(由{a2}建议)</li>
<li><a href="http://www.unixuser.org/~euske/python/pdfminer/index.html" rel="nofollow noreferrer">PDFMiner</a>(或+<a href="https://pypi.python.org/pypi/slate" rel="nofollow noreferrer">slate</a>包装)</li>
<li><a href="https://code.google.com/p/pdfrw/" rel="nofollow noreferrer">pdfrw</a></li>
<li><a href="http://www.xhtml2pdf.com/" rel="nofollow noreferrer">xhtml2pdf</a></li>
<li><a href="https://code.google.com/p/pyfpdf/" rel="nofollow noreferrer">pyfpdf</a>(自2012年8月起无变化)</li>
<li><a href="http://pybrary.net/pyPdf/" rel="nofollow noreferrer">pyPdf</a>(未维护)</li>
</ul>
<p>另请看一下:</p>
<ul>
<li><a href="https://stackoverflow.com/questions/6413441/python-pdf-library">Python PDF library</a></li>
<li><a href="https://docs.djangoproject.com/en/dev/howto/outputting-pdf/" rel="nofollow noreferrer">Outputting PDFs with Django</a></li>
<li><a href="http://pythonsource.com/open-source/pdf-libraries" rel="nofollow noreferrer">Open Source PDF Libraries in Python</a></li>
<li><a href="http://agiliq.com/blog/2008/10/generating-pdfs-with-django/" rel="nofollow noreferrer">Generating PDFs with Django</a></li>
<li><a href="https://stackoverflow.com/questions/4378713/django-reportlab-pdf-generation-attached-to-an-email">Django, ReportLab PDF Generation attached to an email</a></li>
<li><a href="http://www.blog.pythonlibrary.org/2010/03/08/a-simple-step-by-step-reportlab-tutorial/" rel="nofollow noreferrer">A Simple Step-by-Step Reportlab Tutorial</a></li>
<li><a href="http://www.thusjanthan.com/node/62" rel="nofollow noreferrer">Django output pdf using reportlab</a></li>
</ul>
<p>希望有帮助。在</p>