我一直在尝试添加水印,如Add text to Existing PDF using Python中所示,但我一直收到有关来自reportlab的pdf数据的错误。输入pdf是否有问题? 设置:的Python 3.3(蟒蛇分布),Windows 7的 from PyPDF2 import PdfFileMerger, PdfFileReader, PdfFileWriter
from six i
Here is the PDF I'm trying to parse。我的代码(下面)挂在以下行上: content += " ".join(extract.strip().split())
它挂在第21页,这是一个大图。我不介意跳过像这张大图纸这样的页面,但我不知道如何做到这一点。有人可以帮我吗? def ConvertPDFToText(self, pPDF):
content