用于创建 Pdfs 的 python 软件包[已关闭]

问题描述 投票:0回答:3

我需要使用 python 创建 pdf。我拥有的数据是动态的并且需要多个页面。 Matplotlib 很好,但它有一些局限性。有人可以建议任何 python 包来创建 pdf 吗?

python-3.x
3个回答
3
投票

你可以使用这个PyPDF2

例如:

from PyPDF2 import PdfFileReader, PdfFileWriter

了解更多信息,请访问 https://realpython.com/creating-modifying-pdf/


1
投票

您可以使用pdfme。它是一个强大的 python 库,用于创建 PDF 文档。

您可以查看文档这里


0
投票

尝试查看PyFPDF。 查看文档这里

© www.soinside.com 2019 - 2024. All rights reserved.